[MPlayer-cvslog] r33624 - in trunk/gui: mplayer/mw.c wm/wskeys.h
ib
subversion at mplayerhq.hu
Thu Jun 16 13:45:47 CEST 2011
Author: ib
Date: Thu Jun 16 13:45:47 2011
New Revision: 33624
Log:
Remove support for Acer AirKey V keyboard multimedia keys.
Multimedia key support for arbitrary keyboards should be
realized differently.
(Blame me, if someone's actually using this keyboard.)
Modified:
trunk/gui/mplayer/mw.c
trunk/gui/wm/wskeys.h
Modified: trunk/gui/mplayer/mw.c
==============================================================================
--- trunk/gui/mplayer/mw.c Thu Jun 16 13:30:11 2011 (r33623)
+++ trunk/gui/mplayer/mw.c Thu Jun 16 13:45:47 2011 (r33624)
@@ -523,13 +523,13 @@ void mplMainKeyHandle( int KeyCode,int T
switch ( KeyCode )
{
// NOTE TO MYSELF: This is only for the Acer AirKey V keyboard.
- case wsXFMMPrev: msg=evPrev; break;
+ /*case wsXFMMPrev: msg=evPrev; break;
case wsXFMMStop: msg=evStop; break;
case wsXFMMPlay: msg=evPlaySwitchToPause; break;
case wsXFMMNext: msg=evNext; break;
case wsXFMMVolUp: msg=evIncVolume; break;
case wsXFMMVolDown: msg=evDecVolume; break;
- case wsXFMMMute: msg=evMute; break;
+ case wsXFMMMute: msg=evMute; break;*/
}
}
else
Modified: trunk/gui/wm/wskeys.h
==============================================================================
--- trunk/gui/wm/wskeys.h Thu Jun 16 13:30:11 2011 (r33623)
+++ trunk/gui/wm/wskeys.h Thu Jun 16 13:45:47 2011 (r33624)
@@ -31,13 +31,4 @@
#define wsXF86Next 0x17 + 256
#define wsXF86Media 0x32 + 256
-// NOTE TO MYSELF: This is only for the Acer AirKey V keyboard.
-#define wsXFMMPrev 0x98
-#define wsXFMMStop 0xb1
-#define wsXFMMPlay 0x95
-#define wsXFMMNext 0x93
-#define wsXFMMVolUp 0xad
-#define wsXFMMVolDown 0xa6
-#define wsXFMMMute 0x99
-
#endif /* MPLAYER_GUI_WSKEYS_H */
More information about the MPlayer-cvslog
mailing list