summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-03-01 04:01:02 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-03-01 04:01:02 +0000
commite63325acff6a8d0445f9602d6ad84f9b65f8dd2f (patch)
treed0d0a2a0a89bcc1a722df0a5d6b0c13009bf03ba
parent7a7c8f071dd37ad74a299c4b18706d99a67bd128 (diff)
downloadrockbox-e63325acff6a8d0445f9602d6ad84f9b65f8dd2f.tar.gz
rockbox-e63325acff6a8d0445f9602d6ad84f9b65f8dd2f.zip
Add a touchaction "none" which does nothing when pressed. This will allow some fancy controls to skins in combination with recent %T/%Tl changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29475 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/skin_engine/skin_parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index 261a900cd1..6b0e5e65a0 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -923,6 +923,7 @@ static int parse_lasttouch(struct skin_element *element,
923struct touchaction {const char* s; int action;}; 923struct touchaction {const char* s; int action;};
924static const struct touchaction touchactions[] = { 924static const struct touchaction touchactions[] = {
925 /* generic actions, convert to screen actions on use */ 925 /* generic actions, convert to screen actions on use */
926 {"none", ACTION_TOUCHSCREEN},
926 {"prev", ACTION_STD_PREV }, {"next", ACTION_STD_NEXT }, 927 {"prev", ACTION_STD_PREV }, {"next", ACTION_STD_NEXT },
927 {"rwd", ACTION_STD_PREVREPEAT }, {"ffwd", ACTION_STD_NEXTREPEAT }, 928 {"rwd", ACTION_STD_PREVREPEAT }, {"ffwd", ACTION_STD_NEXTREPEAT },
928 {"hotkey", ACTION_STD_HOTKEY}, {"select", ACTION_STD_OK }, 929 {"hotkey", ACTION_STD_HOTKEY}, {"select", ACTION_STD_OK },