summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2006-05-23 19:58:37 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2006-05-23 19:58:37 +0000
commit7db4270d1a31238979b5540f3a7b22d988e11451 (patch)
tree20add3a4b0d07a5afc9b5e2da78deca7c54d8229 /apps
parent25f386017cae545310dcaa7afd479afd498ef863 (diff)
downloadrockbox-7db4270d1a31238979b5540f3a7b22d988e11451.tar.gz
rockbox-7db4270d1a31238979b5540f3a7b22d988e11451.zip
make wormlet work on iaudio, patch by Mustapha Senhaji
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9979 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/SOURCES2
-rw-r--r--apps/plugins/wormlet.c13
2 files changed, 14 insertions, 1 deletions
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES
index edcbe3e53b..5eba2c4856 100644
--- a/apps/plugins/SOURCES
+++ b/apps/plugins/SOURCES
@@ -64,7 +64,7 @@ tetrox.c
64video.c 64video.c
65#endif 65#endif
66vu_meter.c 66vu_meter.c
67#if (CONFIG_KEYPAD != IAUDIO_X5_PAD) && (CONFIG_KEYPAD != IPOD_3G_PAD) 67#if CONFIG_KEYPAD != IPOD_3G_PAD
68wormlet.c 68wormlet.c
69#endif 69#endif
70 70
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c
index 95ccc4a9f2..c23a7ea4af 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -99,6 +99,19 @@ PLUGIN_HEADER
99#define PLAYERS_TEXT "Up/Down" 99#define PLAYERS_TEXT "Up/Down"
100#define WORMS_TEXT "Left/Right" 100#define WORMS_TEXT "Left/Right"
101 101
102#elif (CONFIG_KEYPAD == IAUDIO_X5_PAD)
103
104#define BTN_DIR_UP BUTTON_UP
105#define BTN_DIR_DOWN BUTTON_DOWN
106#define BTN_DIR_LEFT BUTTON_LEFT
107#define BTN_DIR_RIGHT BUTTON_RIGHT
108#define BTN_STARTPAUSE BUTTON_PLAY
109#define BTN_QUIT BUTTON_POWER
110#define BTN_STOPRESET BUTTON_REC
111
112#define PLAYERS_TEXT "Up/Down"
113#define WORMS_TEXT "Left/Right"
114
102#elif (CONFIG_KEYPAD == GIGABEAT_PAD) 115#elif (CONFIG_KEYPAD == GIGABEAT_PAD)
103 116
104#define BTN_DIR_UP BUTTON_UP 117#define BTN_DIR_UP BUTTON_UP