From fd14cac7c2feb471f8bf546d10e15f1336657064 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 2 Mar 2009 19:25:50 +0000 Subject: 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 --- firmware/drivers/button.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/drivers/button.c') diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index 2a9428565c..7d4daafdc2 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c @@ -549,7 +549,7 @@ void button_clear_queue(void) #endif /* SIMULATOR */ -#ifdef HAVE_SCROLLWHEEL +#ifdef HAVE_WHEEL_ACCELERATION /* WHEEL_ACCEL_FACTOR = 2^16 / WHEEL_ACCEL_START */ #define WHEEL_ACCEL_FACTOR (1<<16)/WHEEL_ACCEL_START /** @@ -591,4 +591,4 @@ int button_apply_acceleration(const unsigned int data) return delta; } -#endif /* HAVE_SCROLLWHEEL */ +#endif /* HAVE_WHEEL_ACCELERATION */ -- cgit v1.2.3