summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2009-11-02 21:56:48 +0000
committerRob Purchase <shotofadds@rockbox.org>2009-11-02 21:56:48 +0000
commit24c1c753640124cdfd2abc0b6bb31035d8d7d634 (patch)
treed199447aff88b44f23e65689d1fe3aab42391c21 /apps
parent8f04d5a1dc26da470dfeda987699d2c132f1c627 (diff)
downloadrockbox-24c1c753640124cdfd2abc0b6bb31035d8d7d634.tar.gz
rockbox-24c1c753640124cdfd2abc0b6bb31035d8d7d634.zip
Add touchscreen WPS actions for volume up/down (using a button rather than the slider).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23488 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_parser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index 7119024c69..ae33e907f0 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -1219,6 +1219,7 @@ static struct touchaction touchactions[] = {
{"shuffle", ACTION_TOUCH_SHUFFLE }, {"repmode", ACTION_TOUCH_REPMODE },
{"quickscreen", ACTION_WPS_QUICKSCREEN },{"contextmenu", ACTION_WPS_CONTEXT },
{"playlist", ACTION_WPS_VIEW_PLAYLIST }, {"pitch", ACTION_WPS_PITCHSCREEN},
+ {"voldown", ACTION_WPS_VOLDOWN}, {"volup", ACTION_WPS_VOLUP},
};
static int parse_touchregion(const char *wps_bufptr,
struct wps_token *token, struct wps_data *wps_data)
@@ -1249,6 +1250,8 @@ static int parse_touchregion(const char *wps_bufptr,
* contextmenu - open the context menu
* playlist - go into the playlist
* pitch - go into the pitchscreen
+ * volup - increase volume by one step
+ * voldown - decrease volume by one step
*/