diff options
author | wm4 <wm4@mplayer2.org> | 2012-01-13 10:09:40 +0100 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-03-25 22:30:37 +0300 |
commit | f561c19fe1d16e56c9143043f51fc0cc42ac0e4f (patch) | |
tree | d276b4ea5b8e30d4cb5c2028ab01712146e94f2a /input | |
parent | 7f6dae08e11fa90f7c8cb170daaf7ad23812f66d (diff) | |
download | mpv-f561c19fe1d16e56c9143043f51fc0cc42ac0e4f.tar.bz2 mpv-f561c19fe1d16e56c9143043f51fc0cc42ac0e4f.tar.xz |
x11: input: add print and menu keys
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 1 | ||||
-rw-r--r-- | input/keycodes.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c index cc967bb4fa..6f3335d8db 100644 --- a/input/input.c +++ b/input/input.c @@ -231,6 +231,7 @@ static const struct key_name key_names[] = { { KEY_PAGE_UP, "PGUP" }, { KEY_PAGE_DOWN, "PGDWN" }, { KEY_ESC, "ESC" }, + { KEY_PRINT, "PRINT" }, { KEY_RIGHT, "RIGHT" }, { KEY_LEFT, "LEFT" }, { KEY_DOWN, "DOWN" }, diff --git a/input/keycodes.h b/input/keycodes.h index 2467f31685..84b41a3e89 100644 --- a/input/keycodes.h +++ b/input/keycodes.h @@ -39,6 +39,7 @@ #define KEY_PAGE_UP (KEY_CTRL+5) #define KEY_PAGE_DOWN (KEY_CTRL+6) #define KEY_ESC (KEY_CTRL+7) +#define KEY_PRINT (KEY_CTRL+8) /* Control keys short name */ #define KEY_BS KEY_BACKSPACE |