diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-17 10:01:49 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-17 10:01:49 +0000 |
commit | 487b24cbf5ee03258828a3e2374114b3b2995fff (patch) | |
tree | eb5b54b1cdb96d31acb8a18fc07f713e16e1819d | |
parent | 22942db49f6f6cc2f01bf94d0547fad5c4a044e3 (diff) | |
download | rockbox-487b24cbf5ee03258828a3e2374114b3b2995fff.tar.gz rockbox-487b24cbf5ee03258828a3e2374114b3b2995fff.zip |
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
-rw-r--r-- | apps/plugins/rockboy/rockboy.c | 10 |
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) | |||
173 | options.SELECT=BUTTON_VOL_UP; | 173 | options.SELECT=BUTTON_VOL_UP; |
174 | options.MENU=BUTTON_POWER; | 174 | options.MENU=BUTTON_POWER; |
175 | 175 | ||
176 | #elif CONFIG_KEYPAD == SANSA_CLIP_PAD | ||
177 | options.UP=BUTTON_UP; | ||
178 | options.DOWN=BUTTON_DOWN; | ||
179 | |||
180 | options.A=BUTTON_SELECT; | ||
181 | options.B=BUTTON_HOME; | ||
182 | options.START=BUTTON_VOL_DOWN; | ||
183 | options.SELECT=BUTTON_VOL_UP; | ||
184 | options.MENU=BUTTON_POWER; | ||
185 | |||
176 | #elif CONFIG_KEYPAD == IAUDIO_X5M5_PAD | 186 | #elif CONFIG_KEYPAD == IAUDIO_X5M5_PAD |
177 | options.UP=BUTTON_UP; | 187 | options.UP=BUTTON_UP; |
178 | options.DOWN=BUTTON_DOWN; | 188 | options.DOWN=BUTTON_DOWN; |