# HG changeset patch # User ib # Date 1308224747 0 # Node ID fc140241016359e43e573ee1eb2ab578597d36c1 # Parent ba473335e68bb5048b2a4fae0fde89bb873000f5 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.) diff -r ba473335e68b -r fc1402410163 gui/mplayer/mw.c --- 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 diff -r ba473335e68b -r fc1402410163 gui/wm/wskeys.h --- 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 */