1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Thomas Martitz 2009-03-02 19:25:50 +00:00
parent 09f012a64f
commit fd14cac7c2
54 changed files with 229 additions and 208 deletions

View file

@ -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 */