diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-04-04 15:04:26 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-04-04 15:04:26 +0000 |
commit | ec92ba43f1fa76bac0857c84972c9e25513e0b7c (patch) | |
tree | e9b550a8215160cca8e12fb179de5609c9df4dd0 /input | |
parent | 37805cf27c5f2305440aee6e8191f6e4b132abb0 (diff) | |
download | mpv-ec92ba43f1fa76bac0857c84972c9e25513e0b7c.tar.bz2 mpv-ec92ba43f1fa76bac0857c84972c9e25513e0b7c.tar.xz |
Support for "internet" or "multimedia" keyboards in X11.
Patch from Jason Tackaberry <tack at auc dot ca>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9823 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c index 916bae441d..9fb48567da 100644 --- a/input/input.c +++ b/input/input.c @@ -182,6 +182,12 @@ static mp_key_name_t key_names[] = { { JOY_BTN7, "JOY_BTN7" }, { JOY_BTN8, "JOY_BTN8" }, { JOY_BTN9, "JOY_BTN9" }, + + { KEY_XF86_PAUSE, "XF86_PAUSE" }, + { KEY_XF86_STOP, "XF86_STOP" }, + { KEY_XF86_PREV, "XF86_PREV" }, + { KEY_XF86_NEXT, "XF86_NEXT" }, + { 0, NULL } }; @@ -284,6 +290,12 @@ static mp_cmd_bind_t def_cmd_binds[] = { { { 's', 0 }, "screenshot" }, { { 'w', 0 }, "panscan -0.1" }, { { 'e', 0 }, "panscan +0.1" }, + + { { KEY_XF86_PAUSE, 0 }, "pause" }, + { { KEY_XF86_STOP, 0 }, "quit" }, + { { KEY_XF86_PREV, 0 }, "seek -60" }, + { { KEY_XF86_NEXT, 0 }, "seek +60" }, + { { 0 }, NULL } }; |