summaryrefslogtreecommitdiffstats
path: root/apps/plugins/snow.c
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-05-06 05:48:18 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-05-06 05:48:18 +0000
commit21d49b1abdb6715240eb7c1418b8c856e838da40 (patch)
tree5ead54dd8aff535841d221b848628bf5aa5e54f3 /apps/plugins/snow.c
parent30830fbbbec2d4a3d21fb8bec9983451e939881f (diff)
downloadrockbox-21d49b1abdb6715240eb7c1418b8c856e838da40.tar.gz
rockbox-21d49b1abdb6715240eb7c1418b8c856e838da40.tar.bz2
rockbox-21d49b1abdb6715240eb7c1418b8c856e838da40.zip
M:Robe 500: More plugin keymap changes for touchscreen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20858 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/snow.c')
-rw-r--r--apps/plugins/snow.c39
1 files changed, 18 insertions, 21 deletions
diff --git a/apps/plugins/snow.c b/apps/plugins/snow.c
index 63db9ab453..2a2b0a139c 100644
--- a/apps/plugins/snow.c
+++ b/apps/plugins/snow.c
@@ -38,44 +38,41 @@ PLUGIN_HEADER
/* variable button definitions */
#if CONFIG_KEYPAD == PLAYER_PAD
#define SNOW_QUIT BUTTON_STOP
+
#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || \
(CONFIG_KEYPAD == IPOD_3G_PAD) || \
(CONFIG_KEYPAD == IPOD_1G2G_PAD)
#define SNOW_QUIT BUTTON_MENU
+
#elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD
#define SNOW_QUIT BUTTON_PLAY
-#elif CONFIG_KEYPAD == IAUDIO_X5M5_PAD
-#define SNOW_QUIT BUTTON_POWER
-#elif CONFIG_KEYPAD == GIGABEAT_PAD
-#define SNOW_QUIT BUTTON_POWER
+
#elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \
(CONFIG_KEYPAD == SANSA_C200_PAD) || \
(CONFIG_KEYPAD == SANSA_CLIP_PAD) || \
-(CONFIG_KEYPAD == SANSA_M200_PAD)
+(CONFIG_KEYPAD == SANSA_M200_PAD) || \
+(CONFIG_KEYPAD == MROBE500_PAD) || \
+(CONFIG_KEYPAD == IRIVER_H10_PAD) || \
+(CONFIG_KEYPAD == MROBE100_PAD) || \
+(CONFIG_KEYPAD == COWOND2_PAD) || \
+(CONFIG_KEYPAD == IAUDIO67_PAD) || \
+(CONFIG_KEYPAD == CREATIVEZVM_PAD) || \
+(CONFIG_KEYPAD == PHILIPS_HDD1630_PAD) || \
+(CONFIG_KEYPAD == ONDAVX747_PAD) || \
+(CONFIG_KEYPAD == GIGABEAT_PAD) || \
+(CONFIG_KEYPAD == IAUDIO_X5M5_PAD)
#define SNOW_QUIT BUTTON_POWER
+
#elif (CONFIG_KEYPAD == SANSA_FUZE_PAD)
#define SNOW_QUIT (BUTTON_HOME|BUTTON_REPEAT)
-#elif CONFIG_KEYPAD == IRIVER_H10_PAD
-#define SNOW_QUIT BUTTON_POWER
-#elif CONFIG_KEYPAD == MROBE500_PAD
-#define SNOW_QUIT BUTTON_POWER
-#elif CONFIG_KEYPAD == MROBE100_PAD
-#define SNOW_QUIT BUTTON_POWER
+
#elif CONFIG_KEYPAD == GIGABEAT_S_PAD
#define SNOW_QUIT BUTTON_BACK
+
#elif CONFIG_KEYPAD == IAUDIO_M3_PAD
#define SNOW_QUIT BUTTON_REC
#define SNOW_RC_QUIT BUTTON_RC_REC
-#elif CONFIG_KEYPAD == COWOND2_PAD
-#define SNOW_QUIT BUTTON_POWER
-#elif CONFIG_KEYPAD == IAUDIO67_PAD
-#define SNOW_QUIT BUTTON_POWER
-#elif CONFIG_KEYPAD == CREATIVEZVM_PAD
-#define SNOW_QUIT BUTTON_BACK
-#elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD
-#define SNOW_QUIT BUTTON_POWER
-#elif CONFIG_KEYPAD == ONDAVX747_PAD
-#define SNOW_QUIT BUTTON_POWER
+
#else
#define SNOW_QUIT BUTTON_OFF
#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD)