diff options
author | wm4 <wm4@nowhere> | 2013-09-01 19:59:38 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-01 20:17:51 +0200 |
commit | 61ba8107525308b17e9c4bfdee976509116161a1 (patch) | |
tree | f7606c878b9a7891a5cfbff1c36fdd32fd77efe2 /video/out | |
parent | e366c1a9c69c606b8b671a099657fb3e27e4f83e (diff) | |
download | mpv-61ba8107525308b17e9c4bfdee976509116161a1.tar.bz2 mpv-61ba8107525308b17e9c4bfdee976509116161a1.tar.xz |
input: add some more X11 multimedia/internet keys
These keys can be found on various "multimedia" and "internet" keyboard.
X defines many keycodes, so I'm not adding all, just what I found on my
own keyboard.
Other key codes can be added on request.
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/x11_common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 5ae71eda70..83bfe3946d 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -552,6 +552,9 @@ static const struct mp_keymap keymap[] = { {XF86XK_AudioNext, MP_KEY_NEXT}, {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}, + {XF86XK_Mail, MP_KEY_MAIL}, {XF86XK_Favorites, MP_KEY_FAVORITES}, + {XF86XK_Search, MP_KEY_SEARCH}, {XF86XK_Sleep, MP_KEY_SLEEP}, #endif {0, 0} |