diff options
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/wskeys.h | 1 | ||||
-rw-r--r-- | libvo/x11_common.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libvo/wskeys.h b/libvo/wskeys.h index ef372e5c7f..10d9b8b4e4 100644 --- a/libvo/wskeys.h +++ b/libvo/wskeys.h @@ -19,6 +19,7 @@ #ifndef MPLAYER_WSKEYS_H #define MPLAYER_WSKEYS_H +#define wsPause 0x13 + 256 #define wsUp 0x52 + 256 #define wsDown 0x54 + 256 #define wsLeft 0x51 + 256 diff --git a/libvo/x11_common.c b/libvo/x11_common.c index c576839ddb..0a193fb0d3 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -550,7 +550,8 @@ static void vo_x11_putkey_ext(struct vo *vo, int keysym, int modifiers) static const struct mp_keymap keymap[] = { // special keys - {wsEscape, KEY_ESC}, {wsBackSpace, KEY_BS}, {wsTab, KEY_TAB}, {wsEnter, KEY_ENTER}, + {wsPause, KEY_PAUSE}, {wsEscape, KEY_ESC}, {wsBackSpace, KEY_BS}, + {wsTab, KEY_TAB}, {wsEnter, KEY_ENTER}, // cursor keys {wsLeft, KEY_LEFT}, {wsRight, KEY_RIGHT}, {wsUp, KEY_UP}, {wsDown, KEY_DOWN}, |