summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-08-12 02:18:12 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-08-12 02:18:12 +0000
commit53095684f70a4a4b27339677de48683d3cd5da17 (patch)
tree91cf2b796b92679b9757bd5e93a4cd9757e25063
parenteff14cceec3c71a90c6a675b0bd7b297bd151e7a (diff)
Flip the balance setting list on scrollwheel targets so it feels more natural
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14288 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/settings_list.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 5311c3e6c4..d6f493c9ee 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -370,11 +370,19 @@ static long jumpscroll_getlang(int value)
}
#endif /* HAVE_LCD_CHARCELLS */
+#if defined (HAVE_SCROLLWHEEL) || \
+ (CONFIG_KEYPAD == IPOD_3G_PAD) || \
+ (CONFIG_KEYPAD == IPOD_4G_PAD) || \
+ (CONFIG_KEYPAD == IPOD_1G2G_PAD)
+#define BALANCE_FLIP F_FLIPLIST
+#else
+#define BALANCE_FLIP 0
+#endif
const struct settings_list settings[] = {
/* sound settings */
SOUND_SETTING(0,volume, LANG_VOLUME, "volume", SOUND_VOLUME),
- SOUND_SETTING(0,balance, LANG_BALANCE, "balance", SOUND_BALANCE),
+ SOUND_SETTING(BALANCE_FLIP, balance, LANG_BALANCE, "balance", SOUND_BALANCE),
SOUND_SETTING(0,bass, LANG_BASS, "bass", SOUND_BASS),
SOUND_SETTING(0,treble, LANG_TREBLE, "treble", SOUND_TREBLE),