Skip to content

Commit

Permalink
[KBM]Set extended flag for media keys (#25576)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimecbernardo committed Apr 21, 2023
1 parent 81cc132 commit 3164e03
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/modules/keyboardmanager/common/Helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,25 @@ namespace Helpers
case VK_DOWN:
case VK_RIGHT:
case VK_UP:
case VK_SLEEP:
case VK_MEDIA_NEXT_TRACK:
case VK_MEDIA_PREV_TRACK:
case VK_MEDIA_STOP:
case VK_MEDIA_PLAY_PAUSE:
case VK_VOLUME_MUTE:
case VK_VOLUME_UP:
case VK_VOLUME_DOWN:
case VK_LAUNCH_MEDIA_SELECT:
case VK_LAUNCH_MAIL:
case VK_LAUNCH_APP1:
case VK_LAUNCH_APP2:
case VK_BROWSER_SEARCH:
case VK_BROWSER_HOME:
case VK_BROWSER_BACK:
case VK_BROWSER_FORWARD:
case VK_BROWSER_STOP:
case VK_BROWSER_REFRESH:
case VK_BROWSER_FAVORITES:
return true;
default:
return false;
Expand Down

0 comments on commit 3164e03

Please sign in to comment.