[Mplayer-cvslog] CVS: main/Gui/wm wskeys.h,1.1,1.2 wsmkeys.h,1.1,1.2

Zoltan Ponekker pontscho at mplayer.dev.hu
Tue Jan 29 17:35:56 CET 2002


Update of /cvsroot/mplayer/main/Gui/wm
In directory mplayer:/var/tmp.root/cvs-serv2446/wm

Modified Files:
	wskeys.h wsmkeys.h 
Log Message:
add XF86 multimedia key cucc.

Index: wskeys.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/wm/wskeys.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- wskeys.h	25 Aug 2001 21:04:29 -0000	1.1
+++ wskeys.h	29 Jan 2002 16:35:53 -0000	1.2
@@ -126,7 +126,18 @@
 #define wsGrayUp        0xb8 + 256
 #define wsGrayPageUp    0xb9 + 256
 
-#define wsKeyNumber 116
+//Keys for multimedia keyboard
+
+#define wsXF86LowerVolume 0x11 + 256
+#define wsXF86RaiseVolume 0x13 + 256
+#define wsXF86Mute        0x12 + 256
+#define wsXF86Play        0x14 + 256
+#define wsXF86Stop        0x15 + 256
+#define wsXF86Prev        0x16 + 256
+#define wsXF86Next        0x17 + 256
+#define wsXF86Media       0x32 + 256
+
+#define wsKeyNumber 124
 
 typedef struct
 {

Index: wsmkeys.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/wm/wsmkeys.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- wsmkeys.h	25 Aug 2001 21:04:29 -0000	1.1
+++ wsmkeys.h	29 Jan 2002 16:35:53 -0000	1.2
@@ -48,5 +48,14 @@
   { wsGrayRight,       "GrayRight" }, { wsGrayHome,         "GrayHome" },
   { wsGrayUp,             "GrayUp" }, { wsGrayPageUp,     "GrayPageUp" },
 
+  { wsXF86LowerVolume, "XF86LowerVolume" },
+  { wsXF86RaiseVolume, "XF86RaiseVolume" },
+  { wsXF86Mute,               "XF86Mute" },
+  { wsXF86Play,               "XF86Play" },
+  { wsXF86Stop,               "XF86Stop" },
+  { wsXF86Prev,               "XF86Prev" },
+  { wsXF86Next,               "XF86Next" },
+  { wsXF86Media,             "XF86Media" },
+
   { wsKeyNone, "None" }
  };




More information about the MPlayer-cvslog mailing list