summaryrefslogtreecommitdiffstats
path: root/apps/plugins/wormlet.c
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-10-02 16:51:32 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-10-02 16:51:32 +0000
commit0d835d86b082c52ee01a5aa65780ac40babe9a9b (patch)
tree7c78a332207e90a9cf8ca7fe11d1a1cb678d529c /apps/plugins/wormlet.c
parent1546e048f636610257bfbb30e695263f9c34ca9b (diff)
downloadrockbox-0d835d86b082c52ee01a5aa65780ac40babe9a9b.tar.gz
rockbox-0d835d86b082c52ee01a5aa65780ac40babe9a9b.tar.bz2
rockbox-0d835d86b082c52ee01a5aa65780ac40babe9a9b.zip
fuze+: add wormlet keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30678 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/wormlet.c')
-rw-r--r--apps/plugins/wormlet.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c
index ba5eb24967..d3fbbdcf2d 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -300,6 +300,16 @@ CONFIG_KEYPAD == MROBE500_PAD
#define BTN_QUIT BUTTON_REC
#define BTN_STOPRESET (BUTTON_MENU | BUTTON_REPEAT)
+#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_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_PLAYPAUSE
+#define BTN_QUIT BUTTON_POWER
+#define BTN_STOPRESET BUTTON_BACK
+
#else
#error No keymap defined!
#endif