summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-17 10:01:49 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-17 10:01:49 +0000
commit487b24cbf5ee03258828a3e2374114b3b2995fff (patch)
treeeb5b54b1cdb96d31acb8a18fc07f713e16e1819d /apps/plugins/rockboy
parent22942db49f6f6cc2f01bf94d0547fad5c4a044e3 (diff)
rockboy: add a Clip keymap
the plugin is still disabled, the build condition needs work git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26099 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy')
-rw-r--r--apps/plugins/rockboy/rockboy.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c
index ec224a20db..82f966763d 100644
--- a/apps/plugins/rockboy/rockboy.c
+++ b/apps/plugins/rockboy/rockboy.c
@@ -173,6 +173,16 @@ static void setoptions (void)
options.SELECT=BUTTON_VOL_UP;
options.MENU=BUTTON_POWER;
+#elif CONFIG_KEYPAD == SANSA_CLIP_PAD
+ options.UP=BUTTON_UP;
+ options.DOWN=BUTTON_DOWN;
+
+ options.A=BUTTON_SELECT;
+ options.B=BUTTON_HOME;
+ options.START=BUTTON_VOL_DOWN;
+ options.SELECT=BUTTON_VOL_UP;
+ options.MENU=BUTTON_POWER;
+
#elif CONFIG_KEYPAD == IAUDIO_X5M5_PAD
options.UP=BUTTON_UP;
options.DOWN=BUTTON_DOWN;