summaryrefslogtreecommitdiff
path: root/apps/plugins/wormlet.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-08-03 20:17:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-08-03 20:17:25 +0000
commit1e88be518adafe146704a506aad7f895fffbb240 (patch)
tree59de8c14bcec054d32b82890f73391301ad152aa /apps/plugins/wormlet.c
parent364e892050c5d03895d27ad290180f7a82d0ecbf (diff)
downloadrockbox-1e88be518adafe146704a506aad7f895fffbb240.tar.gz
rockbox-1e88be518adafe146704a506aad7f895fffbb240.zip
Barry Wardell's keymappings for H10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/wormlet.c')
-rw-r--r--apps/plugins/wormlet.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c
index 7dc0ecdf90..3ea063f16c 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -127,6 +127,19 @@ PLUGIN_HEADER
127#define PLAYERS_TEXT "Up/Down" 127#define PLAYERS_TEXT "Up/Down"
128#define WORMS_TEXT "Left/Right" 128#define WORMS_TEXT "Left/Right"
129 129
130#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
131
132#define BTN_DIR_UP BUTTON_SCROLL_UP
133#define BTN_DIR_DOWN BUTTON_SCROLL_DOWN
134#define BTN_DIR_LEFT BUTTON_LEFT
135#define BTN_DIR_RIGHT BUTTON_RIGHT
136#define BTN_STARTPAUSE BUTTON_PLAY
137#define BTN_QUIT BUTTON_POWER
138#define BTN_STOPRESET BUTTON_REW
139
140#define PLAYERS_TEXT "Up/Down"
141#define WORMS_TEXT "Left/Right"
142
130#endif 143#endif
131 144
132#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64) 145#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)