From 2490262eee17c3dcff0a39fb4011662dfdfc4478 Mon Sep 17 00:00:00 2001 From: Mark Arigo Date: Sat, 24 Jan 2009 22:41:55 +0000 Subject: Plugins for the Philips HDD1630. The keymaps are largely untested on the device (patches welcome). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19846 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/chip8.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'apps/plugins/chip8.c') diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c index 9452b72..ecd40f6 100644 --- a/apps/plugins/chip8.c +++ b/apps/plugins/chip8.c @@ -1093,6 +1093,18 @@ CONFIG_KEYPAD == SANSA_M200_PAD #define CHIP8_KEY6 BUTTON_RIGHT #define CHIP8_KEY8 BUTTON_DOWN +#elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD +#define CHIP8_OFF BUTTON_POWER +#define CHIP8_KEY1 BUTTON_MENU +#define CHIP8_KEY2 BUTTON_UP +#define CHIP8_KEY3 BUTTON_VOL_DOWN +#define CHIP8_KEY4 BUTTON_LEFT +#define CHIP8_KEY5 BUTTON_SELECT +#define CHIP8_KEY6 BUTTON_RIGHT +#define CHIP8_KEY7 BUTTON_VOL_UP +#define CHIP8_KEY8 BUTTON_DOWN +#define CHIP8_KEY9 BUTTON_VIEW + #else #error No keymap defined! #endif -- cgit v1.1