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 --- apps/gui/list.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/gui/list.c') diff --git a/apps/gui/list.c b/apps/gui/list.c index 2923ec33c4..8df0a29d52 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c @@ -588,7 +588,7 @@ bool gui_synclist_do_button(struct gui_synclist * lists, static bool scrolling_left = false; #endif -#ifdef HAVE_SCROLLWHEEL +#ifdef HAVE_WHEEL_ACCELERATION int next_item_modifier = button_apply_acceleration(get_action_data()); #else static int next_item_modifier = 1; @@ -659,7 +659,7 @@ bool gui_synclist_do_button(struct gui_synclist * lists, case ACTION_STD_PREV: case ACTION_STD_PREVREPEAT: gui_list_select_at_offset(lists, -next_item_modifier); -#ifndef HAVE_SCROLLWHEEL +#ifndef HAVE_WHEEL_ACCELERATION if (button_queue_count() < FRAMEDROP_TRIGGER) #endif gui_synclist_draw(lists); @@ -673,7 +673,7 @@ bool gui_synclist_do_button(struct gui_synclist * lists, case ACTION_STD_NEXT: case ACTION_STD_NEXTREPEAT: gui_list_select_at_offset(lists, next_item_modifier); -#ifndef HAVE_SCROLLWHEEL +#ifndef HAVE_WHEEL_ACCELERATION if (button_queue_count() < FRAMEDROP_TRIGGER) #endif gui_synclist_draw(lists); -- cgit v1.2.3