mirror of
https://github.com/encounter/SDL.git
synced 2025-12-14 15:46:14 +00:00
PSP: Remove dead code.
Fixes unused variable warning.
This commit is contained in:
committed by
Sam Lantinga
parent
17322e2be6
commit
669532d529
@@ -92,14 +92,6 @@ void PSP_PumpEvents(_THIS)
|
||||
if(changed) {
|
||||
for(i=0; i<sizeof(keymap_psp)/sizeof(keymap_psp[0]); i++) {
|
||||
if(changed & keymap_psp[i].id) {
|
||||
sym.scancode = keymap_psp[i].id;
|
||||
sym.sym = keymap_psp[i].sym;
|
||||
|
||||
/* out of date
|
||||
SDL_PrivateKeyboard((keys & keymap_psp[i].id) ?
|
||||
SDL_PRESSED : SDL_RELEASED,
|
||||
&sym);
|
||||
*/
|
||||
SDL_SendKeyboardKey((keys & keymap_psp[i].id) ?
|
||||
SDL_PRESSED : SDL_RELEASED, SDL_GetScancodeFromKey(keymap_psp[i].sym));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user