diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2009-03-02 19:25:50 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2009-03-02 19:25:50 +0000 |
| commit | fd14cac7c2feb471f8bf546d10e15f1336657064 (patch) | |
| tree | f0d9dfe4b1147a8f08659104a3ba150bb3a1e8f5 /apps/debug_menu.c | |
| parent | 09f012a64fb129b3b7e16cc463a840b1eb5ded7d (diff) | |
| download | rockbox-fd14cac7c2feb471f8bf546d10e15f1336657064.zip rockbox-fd14cac7c2feb471f8bf546d10e15f1336657064.tar.gz rockbox-fd14cac7c2feb471f8bf546d10e15f1336657064.tar.bz2 rockbox-fd14cac7c2feb471f8bf546d10e15f1336657064.tar.xz | |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index b944ff3..3fc0363 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -2522,7 +2522,7 @@ static bool cpu_boost_log(void) } #endif -#if (defined(HAVE_SCROLLWHEEL) && (CONFIG_KEYPAD==IPOD_4G_PAD) && !defined(SIMULATOR)) +#if (defined(HAVE_WHEEL_ACCELERATION) && (CONFIG_KEYPAD==IPOD_4G_PAD) && !defined(SIMULATOR)) extern bool wheel_is_touched; extern int old_wheel_value; extern int new_wheel_value; @@ -2724,7 +2724,7 @@ static const struct the_menu_item menuitems[] = { #ifdef CPU_BOOST_LOGGING {"cpu_boost log",cpu_boost_log}, #endif -#if (defined(HAVE_SCROLLWHEEL) && (CONFIG_KEYPAD==IPOD_4G_PAD) && !defined(SIMULATOR)) +#if (defined(HAVE_WHEEL_ACCELERATION) && (CONFIG_KEYPAD==IPOD_4G_PAD) && !defined(SIMULATOR)) {"Debug scrollwheel", dbg_scrollwheel}, #endif }; |