# HG changeset patch # User diego # Date 1308053627 0 # Node ID 8966911e523364113ca928d43bdf6c9b46e4aa5b # Parent 2df1a5fee8a776a3d7aeea934bdd3a3f56a9cef4 Allow Pause/Break key to be bound as MPlayer input key under X11. patch by Steaphan Greene, sgreene cs.binghamton edu diff -r 2df1a5fee8a7 -r 8966911e5233 libvo/wskeys.h --- a/libvo/wskeys.h Mon Jun 13 19:39:18 2011 +0000 +++ b/libvo/wskeys.h Tue Jun 14 12:13:47 2011 +0000 @@ -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 -r 2df1a5fee8a7 -r 8966911e5233 libvo/x11_common.c --- a/libvo/x11_common.c Mon Jun 13 19:39:18 2011 +0000 +++ b/libvo/x11_common.c Tue Jun 14 12:13:47 2011 +0000 @@ -570,7 +570,8 @@ 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},