Removed SDL_Keysym

This commit is contained in:
Sam Lantinga committed 2024-06-21 22:06:08 -07:00
1 parent 679e4471ed
commit 0dd579d40d
35 files changed
+150 -150

No files matched your search

+1 -1
View File
@@ -391,7 +391,7 @@ static void HandleKeyboardKeyDown(SDL_KeyboardEvent *event)
continue;
}
if (event->which == keyboard_state->instance_id) {
switch (event->keysym.sym) {
switch (event->key) {
case SDLK_LEFT:
keyboard_state->position.x -= CURSOR_SIZE;
if (keyboard_state->position.x < 0.0f) {