summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorKenneth Zhou <knthzh@gmail.com>2014-09-03 14:58:13 -0400
committerwm4 <wm4@nowhere>2014-09-03 21:08:54 +0200
commit98b9d474822b93b846e36231f46d409994362d3a (patch)
treea3e5804b78c817d0457cc0080afacbdaeede6b51 /video
parent0835e093e26b4d0e7c074dfb3260b07d6a7df5bb (diff)
downloadmpv-98b9d474822b93b846e36231f46d409994362d3a.tar.bz2
mpv-98b9d474822b93b846e36231f46d409994362d3a.tar.xz
x11: add rewind and forward keys
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'video')
-rw-r--r--video/out/x11_common.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index 9da95ab200..ab55d6322a 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -561,8 +561,10 @@ static const struct mp_keymap keymap[] = {
{XF86XK_MenuKB, MP_KEY_MENU},
{XF86XK_AudioPlay, MP_KEY_PLAY}, {XF86XK_AudioPause, MP_KEY_PAUSE},
- {XF86XK_AudioStop, MP_KEY_STOP}, {XF86XK_AudioPrev, MP_KEY_PREV},
- {XF86XK_AudioNext, MP_KEY_NEXT}, {XF86XK_AudioMute, MP_KEY_MUTE},
+ {XF86XK_AudioStop, MP_KEY_STOP},
+ {XF86XK_AudioPrev, MP_KEY_PREV}, {XF86XK_AudioNext, MP_KEY_NEXT},
+ {XF86XK_AudioRewind, MP_KEY_REWIND}, {XF86XK_AudioForward, MP_KEY_FORWARD},
+ {XF86XK_AudioMute, MP_KEY_MUTE},
{XF86XK_AudioLowerVolume, MP_KEY_VOLUME_DOWN},
{XF86XK_AudioRaiseVolume, MP_KEY_VOLUME_UP},
{XF86XK_HomePage, MP_KEY_HOMEPAGE}, {XF86XK_WWW, MP_KEY_WWW},