From 264d8f69abacc4b4673b2134095b8dc3e9b80358 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Mon, 15 May 2006 06:59:18 +0000 Subject: Enable next-dir skip on platforms with no directly mapped button combos (click-longclick of next/prev) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9933 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/gwps.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'apps/gui/gwps.c') diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index ea97e61d03..7c9bbc63d2 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c @@ -369,7 +369,8 @@ long gui_wps_show(void) case WPS_FFWD: if (global_settings.party_mode) break; -#ifdef WPS_NEXT_DIR + +#ifdef HAVE_DIR_NAVIGATION if (current_tick - right_lastclick < HZ) { audio_next_dir(); @@ -377,13 +378,15 @@ long gui_wps_show(void) break; } #endif + #ifdef WPS_RC_REW case WPS_RC_REW: #endif case WPS_REW: if (global_settings.party_mode) break; -#ifdef WPS_PREV_DIR + +#ifdef HAVE_DIR_NAVIGATION if (current_tick - left_lastclick < HZ) { audio_prev_dir(); @@ -391,6 +394,7 @@ long gui_wps_show(void) break; } #endif + ffwd_rew(button); break; -- cgit v1.2.3