Removed SDL_Keysym

This commit is contained in:
Sam Lantinga
2024-06-21 19:50:10 -07:00
parent 679e4471ed
commit 0dd579d40d
35 changed files with 150 additions and 150 deletions

View File

@@ -337,7 +337,7 @@ static void loop(void)
switch (event.type) {
case SDL_EVENT_KEY_DOWN:
{
const int sym = event.key.keysym.sym;
const int sym = event.key.key;
if (sym == SDLK_TAB) {
SDL_Log("Tab");