mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-10 21:55:11 +01:00
Restore arrow key handling
This commit is contained in:
parent
23a2a239ac
commit
530f10f842
@ -617,10 +617,10 @@ void C64Display::TranslateKey(SDLKey key, bool key_up, uint8 *key_matrix,
|
||||
case SDLK_LALT: case SDLK_LMETA: c64_key = MATRIX(7,5); break;
|
||||
case SDLK_RALT: case SDLK_RMETA: c64_key = MATRIX(7,5); break;
|
||||
|
||||
case SDLK_UP: c64_key = MATRIX(0,7)| 0x80; break;
|
||||
case SDLK_DOWN: c64_key = MATRIX(0,7); break;
|
||||
case SDLK_LEFT: c64_key = MATRIX(0,2) | 0x80; break;
|
||||
case SDLK_RIGHT: c64_key = MATRIX(0,2); break;
|
||||
case SDLK_UP: c64_key = 0x01 | 0x40; break;
|
||||
case SDLK_DOWN: c64_key = 0x02 | 0x40; break;
|
||||
case SDLK_LEFT: c64_key = 0x04 | 0x40; break;
|
||||
case SDLK_RIGHT: c64_key = 0x08 | 0x40; break;
|
||||
|
||||
case SDLK_F1: c64_key = MATRIX(0,4); break;
|
||||
case SDLK_F2: c64_key = MATRIX(0,4) | 0x80; break;
|
||||
|
Loading…
Reference in New Issue
Block a user