summaryrefslogtreecommitdiffstats
path: root/mpvcore/input/keycodes.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-01 19:59:38 +0200
committerwm4 <wm4@nowhere>2013-09-01 20:17:51 +0200
commit61ba8107525308b17e9c4bfdee976509116161a1 (patch)
treef7606c878b9a7891a5cfbff1c36fdd32fd77efe2 /mpvcore/input/keycodes.h
parente366c1a9c69c606b8b671a099657fb3e27e4f83e (diff)
downloadmpv-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 'mpvcore/input/keycodes.h')
-rw-r--r--mpvcore/input/keycodes.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/mpvcore/input/keycodes.h b/mpvcore/input/keycodes.h
index a4c0a04e09..ade5091695 100644
--- a/mpvcore/input/keycodes.h
+++ b/mpvcore/input/keycodes.h
@@ -52,7 +52,7 @@
#define MP_KEY_DOWN (MP_KEY_CRSR+2)
#define MP_KEY_UP (MP_KEY_CRSR+3)
-/* Multimedia keyboard/remote keys */
+/* Multimedia/internet keyboard/remote keys */
#define MP_KEY_MM_BASE (MP_KEY_BASE+0x20)
#define MP_KEY_POWER (MP_KEY_MM_BASE+0)
#define MP_KEY_MENU (MP_KEY_MM_BASE+1)
@@ -67,6 +67,12 @@
#define MP_KEY_VOLUME_UP (MP_KEY_MM_BASE+10)
#define MP_KEY_VOLUME_DOWN (MP_KEY_MM_BASE+11)
#define MP_KEY_MUTE (MP_KEY_MM_BASE+12)
+#define MP_KEY_HOMEPAGE (MP_KEY_MM_BASE+13)
+#define MP_KEY_WWW (MP_KEY_MM_BASE+14)
+#define MP_KEY_MAIL (MP_KEY_MM_BASE+15)
+#define MP_KEY_FAVORITES (MP_KEY_MM_BASE+16)
+#define MP_KEY_SEARCH (MP_KEY_MM_BASE+17)
+#define MP_KEY_SLEEP (MP_KEY_MM_BASE+18)
/* Function keys */
#define MP_KEY_F (MP_KEY_BASE+0x40)