aboutsummaryrefslogtreecommitdiffhomepage
path: root/osdep
diff options
context:
space:
mode:
authorGravatar albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-04 15:04:26 +0000
committerGravatar albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-04 15:04:26 +0000
commitec92ba43f1fa76bac0857c84972c9e25513e0b7c (patch)
treee9b550a8215160cca8e12fb179de5609c9df4dd0 /osdep
parent37805cf27c5f2305440aee6e8191f6e4b132abb0 (diff)
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 'osdep')
-rw-r--r--osdep/keycodes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/osdep/keycodes.h b/osdep/keycodes.h
index e0b963535c..437ba0e524 100644
--- a/osdep/keycodes.h
+++ b/osdep/keycodes.h
@@ -34,3 +34,9 @@
#define KEY_DOWN (KEY_CRSR+2)
#define KEY_UP (KEY_CRSR+3)
+/* XF86 Multimedia keyboard keys */
+#define KEY_XF86_BASE (0x100+384)
+#define KEY_XF86_PAUSE (KEY_XF86_BASE+1)
+#define KEY_XF86_STOP (KEY_XF86_BASE+2)
+#define KEY_XF86_PREV (KEY_XF86_BASE+3)
+#define KEY_XF86_NEXT (KEY_XF86_BASE+4)