Fixed using the wrong variable when reporting a missing SDL scancode mapping.
--HG-- extra : rebase_source : addd6c5ccfe203f744ba50a120ebe5a1ca77476e
This commit is contained in:
parent
308e51f9a2
commit
277d7b5c2c
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ X11_InitKeyboard(_THIS)
|
||||||
if (scancode == SDL_SCANCODE_UNKNOWN) {
|
if (scancode == SDL_SCANCODE_UNKNOWN) {
|
||||||
printf("scancode not found\n");
|
printf("scancode not found\n");
|
||||||
} else {
|
} else {
|
||||||
printf("scancode = %d (%s)\n", j, SDL_GetScancodeName(j));
|
printf("scancode = %d (%s)\n", scancode, SDL_GetScancodeName(scancode));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue