changeset 33536:fc1402410163

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.)
author ib
date Thu, 16 Jun 2011 11:45:47 +0000
parents ba473335e68b
children cceb74e98445
files gui/mplayer/mw.c gui/wm/wskeys.h
diffstat 2 files changed, 2 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/gui/mplayer/mw.c	Thu Jun 16 11:30:11 2011 +0000
+++ b/gui/mplayer/mw.c	Thu Jun 16 11:45:47 2011 +0000
@@ -523,13 +523,13 @@
    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
--- a/gui/wm/wskeys.h	Thu Jun 16 11:30:11 2011 +0000
+++ b/gui/wm/wskeys.h	Thu Jun 16 11:45:47 2011 +0000
@@ -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 */