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/wormlet.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'apps/plugins/wormlet.c') diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index ee8046275f..63eb43f258 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c @@ -260,6 +260,20 @@ PLUGIN_HEADER #define PLAYERS_TEXT "Up/Down" #define WORMS_TEXT "Left/Right" + +#elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD + +#define BTN_DIR_UP BUTTON_UP +#define BTN_DIR_DOWN BUTTON_DOWN +#define BTN_DIR_LEFT BUTTON_LEFT +#define BTN_DIR_RIGHT BUTTON_RIGHT +#define BTN_STARTPAUSE BUTTON_MENU +#define BTN_QUIT BUTTON_POWER +#define BTN_STOPRESET BUTTON_VIEW + +#define PLAYERS_TEXT "Up/Down" +#define WORMS_TEXT "Left/Right" + #else #error No keymap defined! #endif -- cgit v1.2.3