[MPlayer-cvslog] CVS: main/input input.c, 1.120, 1.121 input.h, 1.57, 1.58

Nicolas Plourde CVS syncmail at mplayerhq.hu
Wed Aug 31 04:15:05 CEST 2005


CVS change done by Nicolas Plourde CVS

Update of /cvsroot/mplayer/main/input
In directory mail:/var2/tmp/cvs-serv20938/input

Modified Files:
	input.c input.h 
Log Message:
add key_down_eventto slave mode, used to inject key down event with mplayer_put_key

Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -r1.120 -r1.121
--- input.c	15 Aug 2005 08:30:42 -0000	1.120
+++ input.c	31 Aug 2005 02:15:02 -0000	1.121
@@ -141,6 +141,7 @@
  
   { MP_CMD_GET_VO_FULLSCREEN, "get_vo_fullscreen", 0, { {-1,{0}} } },
   { MP_CMD_GET_SUB_VISIBILITY, "get_sub_visibility", 0, { {-1,{0}} } },
+  { MP_CMD_KEYDOWN_EVENTS, "key_down_event", 1, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
   
   { 0, NULL, 0, {} }
 };

Index: input.h
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.h,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- input.h	27 Jun 2005 08:16:23 -0000	1.57
+++ input.h	31 Aug 2005 02:15:02 -0000	1.58
@@ -67,6 +67,7 @@
 #define MP_CMD_GET_TIME_POS 63
 #define MP_CMD_SUB_LOAD 64
 #define MP_CMD_SUB_REMOVE 65
+#define MP_CMD_KEYDOWN_EVENTS 66
 
 #define MP_CMD_GUI_EVENTS       5000
 #define MP_CMD_GUI_LOADFILE     5001




More information about the MPlayer-cvslog mailing list