[Mplayer-cvslog] CVS: main/libvo vo_sdl.c, 1.109, 1.110 wskeys.h, 1.7, 1.8 x11_common.c, 1.161, 1.162

Diego Biurrun CVS diego at mplayerhq.hu
Fri Jan 16 18:31:40 CET 2004


Update of /cvsroot/mplayer/main/libvo
In directory mail:/scsi/2/tmp/cvs-serv17350/libvo

Modified Files:
	vo_sdl.c wskeys.h x11_common.c 
Log Message:
Support binding F11 and F12 keys to commands.


Index: vo_sdl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_sdl.c,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -r1.109 -r1.110
--- vo_sdl.c	5 Jan 2004 22:02:45 -0000	1.109
+++ vo_sdl.c	16 Jan 2004 17:31:37 -0000	1.110
@@ -1271,6 +1271,8 @@
  				case SDLK_F8: mplayer_put_key(KEY_F+8);break;
  				case SDLK_F9: mplayer_put_key(KEY_F+9);break;
  				case SDLK_F10: mplayer_put_key(KEY_F+10);break;
+ 				case SDLK_F11: mplayer_put_key(KEY_F+11);break;
+ 				case SDLK_F12: mplayer_put_key(KEY_F+12);break;
                                 /*case SDLK_o: mplayer_put_key('o');break;
                                 case SDLK_SPACE: mplayer_put_key(' ');break;
                                 case SDLK_p: mplayer_put_key('p');break;*/

Index: wskeys.h
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/wskeys.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- wskeys.h	24 Sep 2003 07:38:57 -0000	1.7
+++ wskeys.h	16 Jan 2004 17:31:37 -0000	1.8
@@ -114,6 +114,8 @@
 #define wsF8            0xc5 + 256
 #define wsF9            0xc6 + 256
 #define wsF10           0xc7 + 256
+#define wsF11           0xc8 + 256
+#define wsF12           0xc9 + 256
 #define wsInsert        0x63 + 256
 #define wsDelete        0xff + 256
 #define wsHome          0x50 + 256

Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -r1.161 -r1.162
--- x11_common.c	8 Dec 2003 12:03:03 -0000	1.161
+++ x11_common.c	16 Jan 2004 17:31:37 -0000	1.162
@@ -479,6 +479,8 @@
    case wsF8:        mplayer_put_key(KEY_F+8); break;
    case wsF9:        mplayer_put_key(KEY_F+9); break;
    case wsF10:       mplayer_put_key(KEY_F+10); break;
+   case wsF11:       mplayer_put_key(KEY_F+11); break;
+   case wsF12:       mplayer_put_key(KEY_F+12); break;
    case wsq:
    case wsQ:         mplayer_put_key('q'); break;
    case wsp:




More information about the MPlayer-cvslog mailing list