[Mplayer-cvslog] CVS: main/input input.c,1.71,1.72

Alex Beregszaszi alex at mplayerhq.hu
Wed Apr 9 19:06:07 CEST 2003


Update of /cvsroot/mplayer/main/input
In directory mail:/var/tmp.root/cvs-serv14625/input

Modified Files:
	input.c 
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: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- input.c	4 Apr 2003 20:56:29 -0000	1.71
+++ input.c	9 Apr 2003 17:05:12 -0000	1.72
@@ -136,6 +136,30 @@
   { KEY_LEFT, "LEFT" },
   { KEY_DOWN, "DOWN" },
   { KEY_UP, "UP" },
+  { KEY_F+1, "F1" },
+  { KEY_F+2, "F2" },
+  { KEY_F+3, "F3" },
+  { KEY_F+4, "F4" },
+  { KEY_F+5, "F5" },
+  { KEY_F+6, "F6" },
+  { KEY_F+7, "F7" },
+  { KEY_F+8, "F8" },
+  { KEY_F+9, "F9" },
+  { KEY_F+10, "F10" },
+  { KEY_KP0, "KP0" },
+  { KEY_KP1, "KP1" },
+  { KEY_KP2, "KP2" },
+  { KEY_KP3, "KP3" },
+  { KEY_KP4, "KP4" },
+  { KEY_KP5, "KP5" },
+  { KEY_KP6, "KP6" },
+  { KEY_KP7, "KP7" },
+  { KEY_KP8, "KP8" },
+  { KEY_KP9, "KP9" },
+  { KEY_KPDEL, "KP_DEL" },
+  { KEY_KPDEC, "KP_DEL" },
+  { KEY_KPINS, "KP0" },
+  { KEY_KPENTER, "KP_ENTER" },
   { MOUSE_BTN0, "MOUSE_BTN0" },
   { MOUSE_BTN1, "MOUSE_BTN1" },
   { MOUSE_BTN2, "MOUSE_BTN2" },



More information about the MPlayer-cvslog mailing list