summaryrefslogtreecommitdiff
path: root/apps/gui/gwps.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-05-15 06:59:18 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-05-15 06:59:18 +0000
commit264d8f69abacc4b4673b2134095b8dc3e9b80358 (patch)
treef79b16d77d2ae6021a27faa171583882a785d7f2 /apps/gui/gwps.c
parent44cd303aabe64a3ac3c3698a4b15acdf15e44ee8 (diff)
downloadrockbox-264d8f69abacc4b4673b2134095b8dc3e9b80358.tar.gz
rockbox-264d8f69abacc4b4673b2134095b8dc3e9b80358.zip
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
Diffstat (limited to 'apps/gui/gwps.c')
-rw-r--r--apps/gui/gwps.c8
1 files changed, 6 insertions, 2 deletions
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)
369 case WPS_FFWD: 369 case WPS_FFWD:
370 if (global_settings.party_mode) 370 if (global_settings.party_mode)
371 break; 371 break;
372#ifdef WPS_NEXT_DIR 372
373#ifdef HAVE_DIR_NAVIGATION
373 if (current_tick - right_lastclick < HZ) 374 if (current_tick - right_lastclick < HZ)
374 { 375 {
375 audio_next_dir(); 376 audio_next_dir();
@@ -377,13 +378,15 @@ long gui_wps_show(void)
377 break; 378 break;
378 } 379 }
379#endif 380#endif
381
380#ifdef WPS_RC_REW 382#ifdef WPS_RC_REW
381 case WPS_RC_REW: 383 case WPS_RC_REW:
382#endif 384#endif
383 case WPS_REW: 385 case WPS_REW:
384 if (global_settings.party_mode) 386 if (global_settings.party_mode)
385 break; 387 break;
386#ifdef WPS_PREV_DIR 388
389#ifdef HAVE_DIR_NAVIGATION
387 if (current_tick - left_lastclick < HZ) 390 if (current_tick - left_lastclick < HZ)
388 { 391 {
389 audio_prev_dir(); 392 audio_prev_dir();
@@ -391,6 +394,7 @@ long gui_wps_show(void)
391 break; 394 break;
392 } 395 }
393#endif 396#endif
397
394 ffwd_rew(button); 398 ffwd_rew(button);
395 break; 399 break;
396 400