mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-01 06:44:27 +08:00
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:
@@ -875,7 +875,7 @@ The following functions have been removed:
|
|||||||
|
|
||||||
## SDL_keycode.h
|
## 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:
|
The following symbols have been renamed:
|
||||||
* KMOD_ALT => SDL_KMOD_ALT
|
* KMOD_ALT => SDL_KMOD_ALT
|
||||||
|
|||||||
+245
-287
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user