Enable KEYCODE_OPTION_LATIN_LETTERS by default

It turns out that the non-Latin keyboards (Russian, Thai, Greek, etc.) are almost all QWERTY layout plus native language labels. Feedback from users is that they expect to see the ASCII keycodes and key names when using those keyboards, so we'll enable this option by default.
This commit is contained in:
Sam Lantinga 2024-08-05 09:30:02 -07:00
parent d7256a77db
commit 4073c4910e

View file

@ -40,7 +40,7 @@
#define KEYCODE_OPTION_HIDE_NUMPAD 0x01 #define KEYCODE_OPTION_HIDE_NUMPAD 0x01
#define KEYCODE_OPTION_FRENCH_NUMBERS 0x02 #define KEYCODE_OPTION_FRENCH_NUMBERS 0x02
#define KEYCODE_OPTION_LATIN_LETTERS 0x04 #define KEYCODE_OPTION_LATIN_LETTERS 0x04
#define DEFAULT_KEYCODE_OPTIONS (KEYCODE_OPTION_FRENCH_NUMBERS) #define DEFAULT_KEYCODE_OPTIONS (KEYCODE_OPTION_FRENCH_NUMBERS | KEYCODE_OPTION_LATIN_LETTERS)
typedef struct SDL_KeyboardInstance typedef struct SDL_KeyboardInstance
{ {