[Mplayer-cvslog] CVS: main/osdep keycodes.h,1.2,1.3
Alex Beregszaszi
alex at mplayerhq.hu
Wed Apr 9 19:05:52 CEST 2003
Update of /cvsroot/mplayer/main/osdep
In directory mail:/var/tmp.root/cvs-serv14625/osdep
Modified Files:
keycodes.h
Log Message:
keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin at VM10124.spb.edu>
Index: keycodes.h
===================================================================
RCS file: /cvsroot/mplayer/main/osdep/keycodes.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- keycodes.h 4 Apr 2003 15:04:26 -0000 1.2
+++ keycodes.h 9 Apr 2003 17:05:39 -0000 1.3
@@ -40,3 +40,20 @@
#define KEY_XF86_STOP (KEY_XF86_BASE+2)
#define KEY_XF86_PREV (KEY_XF86_BASE+3)
#define KEY_XF86_NEXT (KEY_XF86_BASE+4)
+
+/* Keypad keys */
+#define KEY_KEYPAD (KEY_BASE+32)
+#define KEY_KP0 (KEY_KEYPAD+0)
+#define KEY_KP1 (KEY_KEYPAD+1)
+#define KEY_KP2 (KEY_KEYPAD+2)
+#define KEY_KP3 (KEY_KEYPAD+3)
+#define KEY_KP4 (KEY_KEYPAD+4)
+#define KEY_KP5 (KEY_KEYPAD+5)
+#define KEY_KP6 (KEY_KEYPAD+6)
+#define KEY_KP7 (KEY_KEYPAD+7)
+#define KEY_KP8 (KEY_KEYPAD+8)
+#define KEY_KP9 (KEY_KEYPAD+9)
+#define KEY_KPDEC (KEY_KEYPAD+10)
+#define KEY_KPINS (KEY_KEYPAD+11)
+#define KEY_KPDEL (KEY_KEYPAD+12)
+#define KEY_KPENTER (KEY_KEYPAD+13)
More information about the MPlayer-cvslog
mailing list