Fixed Win+V handling (pasting from clipboard history) on Windows (thanks @ocornut!)
Fixes https://github.com/libsdl-org/SDL/issues/9613
This commit is contained in:
1 parent
ab10bf54f2
commit
33af02ae68
1 file changed
+4
@@ -128,6 +128,10 @@ static SDL_Scancode VKeytoScancodeFallback(WPARAM vkey)
|
|||||||
return SDL_SCANCODE_RIGHT;
|
return SDL_SCANCODE_RIGHT;
|
||||||
case VK_DOWN:
|
case VK_DOWN:
|
||||||
return SDL_SCANCODE_DOWN;
|
return SDL_SCANCODE_DOWN;
|
||||||
|
case VK_CONTROL:
|
||||||
|
return SDL_SCANCODE_LCTRL;
|
||||||
|
case VK_V:
|
||||||
|
return SDL_SCANCODE_V;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return SDL_SCANCODE_UNKNOWN;
|
return SDL_SCANCODE_UNKNOWN;
|
||||||
|
|||||||
Reference in new issue
Block a user