mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Chip8: implement missing key
KEYA is defined for Fuze+ (even in the manual), but wasn't implemented yet. Change-Id: Ib0a93544926c15893b1cce967db931f3b515422c
This commit is contained in:
parent
59928e6cf5
commit
d552ff2648
1 changed files with 4 additions and 0 deletions
|
@ -1432,6 +1432,10 @@ static void chip8_keyboard(void)
|
|||
case CHIP8_KEY9: chip8_virtual_keys[9] = 1; break;
|
||||
case CHIP8_KEY9 | BUTTON_REL: chip8_virtual_keys[9] = 0; break;
|
||||
#endif
|
||||
#ifdef CHIP8_KEYA
|
||||
case CHIP8_KEYA: chip8_virtual_keys[10] = 1; break;
|
||||
case CHIP8_KEYA | BUTTON_REL: chip8_virtual_keys[10] = 0; break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
if (rb->default_event_handler(button) == SYS_USB_CONNECTED)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue