Mercurial > mplayer.hg
changeset 33525:b32fcc18c9b4
Add support for multimedia pause key.
This closes Bugzilla #1290.
author | ib |
---|---|
date | Tue, 14 Jun 2011 14:48:52 +0000 |
parents | 7d5fd12b86e7 |
children | 140525bcc32f |
files | gui/mplayer/mw.c gui/wm/wskeys.h |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/mplayer/mw.c Tue Jun 14 14:39:26 2011 +0000 +++ b/gui/mplayer/mw.c Tue Jun 14 14:48:52 2011 +0000 @@ -539,6 +539,7 @@ 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;
--- a/gui/wm/wskeys.h Tue Jun 14 14:39:26 2011 +0000 +++ b/gui/wm/wskeys.h Tue Jun 14 14:48:52 2011 +0000 @@ -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