[MPlayer-cvslog] r33613 - in trunk/gui: mplayer/mw.c wm/wskeys.h
ib
subversion at mplayerhq.hu
Tue Jun 14 16:48:52 CEST 2011
Author: ib
Date: Tue Jun 14 16:48:52 2011
New Revision: 33613
Log:
Add support for multimedia pause key.
This closes Bugzilla #1290.
Modified:
trunk/gui/mplayer/mw.c
trunk/gui/wm/wskeys.h
Modified: trunk/gui/mplayer/mw.c
==============================================================================
--- trunk/gui/mplayer/mw.c Tue Jun 14 16:39:26 2011 (r33612)
+++ trunk/gui/mplayer/mw.c Tue Jun 14 16:48:52 2011 (r33613)
@@ -539,6 +539,7 @@ void mplMainKeyHandle( int KeyCode,int T
case wsXF86LowerVolume: msg=evDecVolume; break;
case wsXF86RaiseVolume: msg=evIncVolume; break;
case wsXF86Mute: msg=evMute; break;
+ case wsXF86Pause:
case wsXF86Play: msg=evPlaySwitchToPause; break;
case wsXF86Stop: msg=evStop; break;
case wsXF86Prev: msg=evPrev; break;
Modified: trunk/gui/wm/wskeys.h
==============================================================================
--- trunk/gui/wm/wskeys.h Tue Jun 14 16:39:26 2011 (r33612)
+++ trunk/gui/wm/wskeys.h Tue Jun 14 16:48:52 2011 (r33613)
@@ -30,6 +30,7 @@
#define wsXF86RaiseVolume 0x13 + 256
#define wsXF86Mute 0x12 + 256
#define wsXF86Play 0x14 + 256
+#define wsXF86Pause 0x31 + 256
#define wsXF86Stop 0x15 + 256
#define wsXF86Prev 0x16 + 256
#define wsXF86Next 0x17 + 256
More information about the MPlayer-cvslog
mailing list