mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-15 22:35:59 +00:00
Fixed using the wrong variable when reporting a missing SDL scancode mapping.
This commit is contained in:
@@ -271,7 +271,7 @@ X11_InitKeyboard(_THIS)
|
||||
if (scancode == SDL_SCANCODE_UNKNOWN) {
|
||||
printf("scancode not found\n");
|
||||
} else {
|
||||
printf("scancode = %d (%s)\n", j, SDL_GetScancodeName(j));
|
||||
printf("scancode = %d (%s)\n", scancode, SDL_GetScancodeName(scancode));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user