mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-22 21:45:30 +00:00
Replacing SDL_SCANCODE_AUDIOMUTE by SDL_SCANCODE_MUTE on Windows
This commit is contained in:
parent
1de85491e1
commit
925362a2fc
|
@ -189,7 +189,7 @@ static SDL_Scancode VKeytoScancode(WPARAM vkey)
|
|||
case VK_BROWSER_HOME:
|
||||
return SDL_SCANCODE_AC_HOME;
|
||||
case VK_VOLUME_MUTE:
|
||||
return SDL_SCANCODE_AUDIOMUTE;
|
||||
return SDL_SCANCODE_MUTE;
|
||||
case VK_VOLUME_DOWN:
|
||||
return SDL_SCANCODE_VOLUMEDOWN;
|
||||
case VK_VOLUME_UP:
|
||||
|
@ -500,7 +500,7 @@ static void WIN_UpdateFocus(SDL_Window *window, SDL_bool expect_focus)
|
|||
SDL_ToggleModState(KMOD_CAPS, (GetKeyState(VK_CAPITAL) & 0x0001) ? SDL_TRUE : SDL_FALSE);
|
||||
SDL_ToggleModState(KMOD_NUM, (GetKeyState(VK_NUMLOCK) & 0x0001) ? SDL_TRUE : SDL_FALSE);
|
||||
SDL_ToggleModState(KMOD_SCROLL, (GetKeyState(VK_SCROLL) & 0x0001) ? SDL_TRUE : SDL_FALSE);
|
||||
|
||||
|
||||
WIN_UpdateWindowICCProfile(data->window, SDL_TRUE);
|
||||
} else {
|
||||
RECT rect;
|
||||
|
|
Loading…
Reference in a new issue