Changed SDL_KeyCode values to defines

This clears up confusion about whether to use SDL_KeyCode or SDL_Keycode and makes it clear that the values aren't the full set of possible keycodes.

Fixes https://github.com/libsdl-org/SDL/issues/9493
This commit is contained in:
Sam Lantinga
2024-04-15 13:48:14 -07:00
parent 2fa4937e1a
commit 70ce808c09
2 changed files with 246 additions and 288 deletions
+1 -1
View File
@@ -875,7 +875,7 @@ The following functions have been removed:
## SDL_keycode.h
SDL_Keycode is now an enum instead of Sint32.
The SDL_KeyCode enum values have been changed to defines to more clearly reflect that they are a subset of the possible values of an SDL_Keycode.
The following symbols have been renamed:
* KMOD_ALT => SDL_KMOD_ALT
+245 -287
View File
File diff suppressed because it is too large Load Diff