summaryrefslogtreecommitdiffstats
path: root/apps/plugins
diff options
context:
space:
mode:
authorSebastian Leonhardt <sebastian.leonhardt@web.de>2015-07-13 00:48:41 +0200
committerGerrit Rockbox <gerrit@rockbox.org>2015-09-25 10:22:53 +0200
commitd552ff264833f8ee4885bb89e068615107e6d473 (patch)
tree749efa43b4ab7b088788dfb881c453221c6f7078 /apps/plugins
parent59928e6cf5b42fda923559a1e232abe8bf0eddd3 (diff)
downloadrockbox-d552ff264833f8ee4885bb89e068615107e6d473.tar.gz
rockbox-d552ff264833f8ee4885bb89e068615107e6d473.tar.bz2
rockbox-d552ff264833f8ee4885bb89e068615107e6d473.zip
Chip8: implement missing key
KEYA is defined for Fuze+ (even in the manual), but wasn't implemented yet. Change-Id: Ib0a93544926c15893b1cce967db931f3b515422c
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/chip8.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c
index efb62eb27e..09b0062382 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -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)