summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-03-02 19:25:50 +0000
committerThomas Martitz <kugel@rockbox.org>2009-03-02 19:25:50 +0000
commitfd14cac7c2feb471f8bf546d10e15f1336657064 (patch)
treef0d9dfe4b1147a8f08659104a3ba150bb3a1e8f5 /apps/debug_menu.c
parent09f012a64fb129b3b7e16cc463a840b1eb5ded7d (diff)
downloadrockbox-fd14cac7c2feb471f8bf546d10e15f1336657064.tar.gz
rockbox-fd14cac7c2feb471f8bf546d10e15f1336657064.zip
Split HAVE_SCROLLWHEEL into HAVE_SCROLLWHEEL and HAVE_WHEEL_ACCELERATION, where the latter now activates the wheel acceleration code.
HAVE_SCROLLWHEEL plainly indicates the existence of a scrollwheel, thus all ipods define it now (in addition to the ones and some sansas which did before). Same applies to the manual. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20177 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index b944ff3aa1..3fc0363297 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -2522,7 +2522,7 @@ static bool cpu_boost_log(void)
2522} 2522}
2523#endif 2523#endif
2524 2524
2525#if (defined(HAVE_SCROLLWHEEL) && (CONFIG_KEYPAD==IPOD_4G_PAD) && !defined(SIMULATOR)) 2525#if (defined(HAVE_WHEEL_ACCELERATION) && (CONFIG_KEYPAD==IPOD_4G_PAD) && !defined(SIMULATOR))
2526extern bool wheel_is_touched; 2526extern bool wheel_is_touched;
2527extern int old_wheel_value; 2527extern int old_wheel_value;
2528extern int new_wheel_value; 2528extern int new_wheel_value;
@@ -2724,7 +2724,7 @@ static const struct the_menu_item menuitems[] = {
2724#ifdef CPU_BOOST_LOGGING 2724#ifdef CPU_BOOST_LOGGING
2725 {"cpu_boost log",cpu_boost_log}, 2725 {"cpu_boost log",cpu_boost_log},
2726#endif 2726#endif
2727#if (defined(HAVE_SCROLLWHEEL) && (CONFIG_KEYPAD==IPOD_4G_PAD) && !defined(SIMULATOR)) 2727#if (defined(HAVE_WHEEL_ACCELERATION) && (CONFIG_KEYPAD==IPOD_4G_PAD) && !defined(SIMULATOR))
2728 {"Debug scrollwheel", dbg_scrollwheel}, 2728 {"Debug scrollwheel", dbg_scrollwheel},
2729#endif 2729#endif
2730 }; 2730 };