From 24c1c753640124cdfd2abc0b6bb31035d8d7d634 Mon Sep 17 00:00:00 2001 From: Rob Purchase Date: Mon, 2 Nov 2009 21:56:48 +0000 Subject: 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 --- apps/gui/skin_engine/skin_parser.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/gui/skin_engine/skin_parser.c') 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 */ -- cgit v1.2.3