summaryrefslogtreecommitdiff
path: root/apps/gui/wps.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-03-27 07:23:38 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-03-27 07:23:38 +0000
commit443b1349830912add7211e07557029b9c185d948 (patch)
treebffa8efdf04b0eb8d3502e0af4691c9a257f1c8f /apps/gui/wps.c
parent86c4ec7277ac1c2a130a9ac1a3500c8360af5c7e (diff)
downloadrockbox-443b1349830912add7211e07557029b9c185d948.tar.gz
rockbox-443b1349830912add7211e07557029b9c185d948.zip
Fix touchregions muting volume, and change &<action> to mean 'needs long press but only fire once'. Use *<action> for 'long press and allow repeats'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29653 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/wps.c')
-rw-r--r--apps/gui/wps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c
index fc91b9abb2..c33268e6bd 100644
--- a/apps/gui/wps.c
+++ b/apps/gui/wps.c
@@ -217,7 +217,7 @@ static int skintouch_to_wps(struct wps_data *data)
217 case ACTION_STD_HOTKEY: 217 case ACTION_STD_HOTKEY:
218 return ACTION_WPS_HOTKEY; 218 return ACTION_WPS_HOTKEY;
219#endif 219#endif
220 case WPS_TOUCHREGION_SCROLLBAR: 220 case ACTION_TOUCH_SCROLLBAR:
221 skin_get_global_state()->id3->elapsed = skin_get_global_state()->id3->length*offset/100; 221 skin_get_global_state()->id3->elapsed = skin_get_global_state()->id3->length*offset/100;
222 if (!skin_get_global_state()->paused) 222 if (!skin_get_global_state()->paused)
223#if (CONFIG_CODEC == SWCODEC) 223#if (CONFIG_CODEC == SWCODEC)
@@ -231,7 +231,7 @@ static int skintouch_to_wps(struct wps_data *data)
231 audio_resume(); 231 audio_resume();
232#endif 232#endif
233 return ACTION_TOUCHSCREEN; 233 return ACTION_TOUCHSCREEN;
234 case WPS_TOUCHREGION_VOLUME: 234 case ACTION_TOUCH_VOLUME:
235 { 235 {
236 const int min_vol = sound_min(SOUND_VOLUME); 236 const int min_vol = sound_min(SOUND_VOLUME);
237 const int max_vol = sound_max(SOUND_VOLUME); 237 const int max_vol = sound_max(SOUND_VOLUME);