Don't map the top keyboard row to numbers when using the one-handed DVORAK layouts (thanks @tormol!)

Fixes https://github.com/libsdl-org/SDL/pull/5127

(cherry picked from commit a2f4783e75)
This commit is contained in:
Sam Lantinga 2023-05-22 11:30:42 -07:00
parent 376a3cd100
commit 4dd9f61bfd
3 changed files with 30 additions and 11 deletions

View file

@ -40,7 +40,7 @@
* an SDLK_* constant for those keys that do not generate characters.
*
* A special exception is the number keys at the top of the keyboard which
* always map to SDLK_0...SDLK_9, regardless of layout.
* map to SDLK_0...SDLK_9 on AZERTY layouts.
*/
typedef Sint32 SDL_Keycode;