From 338e2bbb0c6673452c64378ef9e609d5c19c7558 Mon Sep 17 00:00:00 2001 From: Marcoen Hirschberg Date: Fri, 24 Feb 2006 15:42:52 +0000 Subject: first gigabeat commit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/chip8.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/plugins/chip8.c') diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c index 1be48823ed..29816bfa13 100644 --- a/apps/plugins/chip8.c +++ b/apps/plugins/chip8.c @@ -992,6 +992,14 @@ STATIC void chip8 (void) #define CHIP8_KEY6 BUTTON_RIGHT #define CHIP8_KEY8 BUTTON_DOWN +#elif (CONFIG_KEYPAD == GIGABEAT_PAD) +#define CHIP8_OFF BUTTON_A +#define CHIP8_KEY2 BUTTON_UP +#define CHIP8_KEY4 BUTTON_LEFT +#define CHIP8_KEY5 BUTTON_MENU +#define CHIP8_KEY6 BUTTON_RIGHT +#define CHIP8_KEY8 BUTTON_DOWN + #endif static byte chip8_virtual_keys[16]; -- cgit v1.2.3