summaryrefslogtreecommitdiff
path: root/apps/gui/gwps-common.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-05-17 06:25:18 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-05-17 06:25:18 +0000
commit2172c9147361829e4a65f1c918450b617c4d04d5 (patch)
treecb17cd04ca916afa99898347068eacc1b0a1dff6 /apps/gui/gwps-common.c
parent03ea24929779fd29ac95cb0bfd8945d269f3733d (diff)
downloadrockbox-2172c9147361829e4a65f1c918450b617c4d04d5.tar.gz
rockbox-2172c9147361829e4a65f1c918450b617c4d04d5.zip
get repeat/hold actions working on the touchscreen WPS. prepending an action with & means that this will only get triggered if you hold down the area. cabbie WPS updated so the fwd/rwd icons will do that when held or skip fwd/back if just pressed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20974 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r--apps/gui/gwps-common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index 9a69c74bf3..9cfff4cba8 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -268,7 +268,13 @@ bool ffwd_rew(int button)
268 break; 268 break;
269 } 269 }
270 if (!exit) 270 if (!exit)
271 {
271 button = get_action(CONTEXT_WPS|ALLOW_SOFTLOCK,TIMEOUT_BLOCK); 272 button = get_action(CONTEXT_WPS|ALLOW_SOFTLOCK,TIMEOUT_BLOCK);
273#ifdef HAVE_TOUCHSCREEN
274 if (button == ACTION_TOUCHSCREEN)
275 button = wps_get_touchaction(gui_wps[SCREEN_MAIN].data);
276#endif
277 }
272 } 278 }
273 return usb; 279 return usb;
274} 280}