summaryrefslogtreecommitdiff
path: root/apps/plugins/wormlet.c
diff options
context:
space:
mode:
authorMark Arigo <markarigo@gmail.com>2009-01-24 22:41:55 +0000
committerMark Arigo <markarigo@gmail.com>2009-01-24 22:41:55 +0000
commit2490262eee17c3dcff0a39fb4011662dfdfc4478 (patch)
tree2c68f5903b36e52718f5be53d8504af3e0e03c0c /apps/plugins/wormlet.c
parent74b97fa139339b62813d94610f8d7710357beb08 (diff)
downloadrockbox-2490262eee17c3dcff0a39fb4011662dfdfc4478.tar.gz
rockbox-2490262eee17c3dcff0a39fb4011662dfdfc4478.zip
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
Diffstat (limited to 'apps/plugins/wormlet.c')
-rw-r--r--apps/plugins/wormlet.c14
1 files changed, 14 insertions, 0 deletions
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
260 260
261#define PLAYERS_TEXT "Up/Down" 261#define PLAYERS_TEXT "Up/Down"
262#define WORMS_TEXT "Left/Right" 262#define WORMS_TEXT "Left/Right"
263
264#elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD
265
266#define BTN_DIR_UP BUTTON_UP
267#define BTN_DIR_DOWN BUTTON_DOWN
268#define BTN_DIR_LEFT BUTTON_LEFT
269#define BTN_DIR_RIGHT BUTTON_RIGHT
270#define BTN_STARTPAUSE BUTTON_MENU
271#define BTN_QUIT BUTTON_POWER
272#define BTN_STOPRESET BUTTON_VIEW
273
274#define PLAYERS_TEXT "Up/Down"
275#define WORMS_TEXT "Left/Right"
276
263#else 277#else
264#error No keymap defined! 278#error No keymap defined!
265#endif 279#endif