summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lib/keymaps.h
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-12-16 16:41:20 -0500
committerFranklin Wei <git@fwei.tk>2017-12-16 16:41:20 -0500
commitd14e3f45a859045e81065bfd6740605be45c2349 (patch)
treefdc1608d1b612b13ea2861c928b5049c17173f15 /apps/plugins/lib/keymaps.h
parent430534b1fc5f26405ab950b84b6e1ab44e65cc58 (diff)
downloadrockbox-d14e3f45a859045e81065bfd6740605be45c2349.tar.gz
rockbox-d14e3f45a859045e81065bfd6740605be45c2349.tar.bz2
rockbox-d14e3f45a859045e81065bfd6740605be45c2349.zip
Fix last commit
Change-Id: Ie3b3fad702e8c03d33b4a264139b6de74736e058
Diffstat (limited to 'apps/plugins/lib/keymaps.h')
-rw-r--r--apps/plugins/lib/keymaps.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/plugins/lib/keymaps.h b/apps/plugins/lib/keymaps.h
index 9c98eb79ac..b61a7b6b24 100644
--- a/apps/plugins/lib/keymaps.h
+++ b/apps/plugins/lib/keymaps.h
@@ -91,10 +91,7 @@
#endif
#if (CONFIG_KEYPAD == PHILIPS_HDD1630_PAD) || \
- (CONFIG_KEYPAD == PHILIPS_HDD6330_PAD) || \
- (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) || \
(CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD) || \
- (CONFIG_KEYPAD == CREATIVE_ZENXFI3_PAD) || \
(CONFIG_KEYPAD == SANSA_CONNECT_PAD) || \
(CONFIG_KEYPAD == SANSA_C200_PAD) || \
(CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD) || \
@@ -102,6 +99,12 @@
#define BTN_FIRE BUTTON_SELECT
#define BTN_PAUSE BUTTON_POWER
+#elif (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) || \
+ (CONFIG_KEYPAD == PHILIPS_HDD6330_PAD) || \
+ (CONFIG_KEYPAD == CREATIVE_ZENXFI3_PAD)
+#define BTN_FIRE BUTTON_VOL_UP
+#define BTN_PAUSE BUTTON_VOL_DOWN
+
#elif (CONFIG_KEYPAD == SANSA_FUZE_PAD)
#define BTN_FIRE BUTTON_SELECT
#define BTN_PAUSE BUTTON_HOME