Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #2039 from jhsrennie/master

Correct handling of multimedia keypresses
  • Loading branch information...
commit 0c66b4a2bc100d395d7c58f31bae6f69b80b472c 2 parents ea0f2ef + 05df22d
@jmarshallnz jmarshallnz authored
Showing with 19 additions and 0 deletions.
  1. +19 −0 xbmc/windowing/windows/WinEventsWin32.cpp
View
19 xbmc/windowing/windows/WinEventsWin32.cpp
@@ -261,6 +261,25 @@ static int XBMC_MapVirtualKey(int scancode, int vkey)
case VK_RMENU:
case VK_SNAPSHOT:
case VK_PAUSE:
+ /* Multimedia keys are already handled */
+ case VK_BROWSER_BACK:
+ case VK_BROWSER_FORWARD:
+ case VK_BROWSER_REFRESH:
+ case VK_BROWSER_STOP:
+ case VK_BROWSER_SEARCH:
+ case VK_BROWSER_FAVORITES:
+ case VK_BROWSER_HOME:
+ case VK_VOLUME_MUTE:
+ case VK_VOLUME_DOWN:
+ case VK_VOLUME_UP:
+ case VK_MEDIA_NEXT_TRACK:
+ case VK_MEDIA_PREV_TRACK:
+ case VK_MEDIA_STOP:
+ case VK_MEDIA_PLAY_PAUSE:
+ case VK_LAUNCH_MAIL:
+ case VK_LAUNCH_MEDIA_SELECT:
+ case VK_LAUNCH_APP1:
+ case VK_LAUNCH_APP2:
return vkey;
}
switch(mvke)
Please sign in to comment.
Something went wrong with that request. Please try again.