diff options
Diffstat (limited to 'apps/gui/wps_parser.c')
-rw-r--r-- | apps/gui/wps_parser.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/gui/wps_parser.c b/apps/gui/wps_parser.c index 290f370fe7..d8155d71df 100644 --- a/apps/gui/wps_parser.c +++ b/apps/gui/wps_parser.c | |||
@@ -1162,7 +1162,8 @@ struct touchaction {char* s; int action;}; | |||
1162 | static struct touchaction touchactions[] = { | 1162 | static struct touchaction touchactions[] = { |
1163 | {"play", ACTION_WPS_PLAY }, {"stop", ACTION_WPS_STOP }, | 1163 | {"play", ACTION_WPS_PLAY }, {"stop", ACTION_WPS_STOP }, |
1164 | {"prev", ACTION_WPS_SKIPPREV }, {"next", ACTION_WPS_SKIPNEXT }, | 1164 | {"prev", ACTION_WPS_SKIPPREV }, {"next", ACTION_WPS_SKIPNEXT }, |
1165 | {"menu", ACTION_WPS_MENU }, {"browse", ACTION_WPS_BROWSE } | 1165 | {"menu", ACTION_WPS_MENU }, {"browse", ACTION_WPS_BROWSE }, |
1166 | {"shuffle", ACTION_TOUCH_SHUFFLE }, {"repmode", ACTION_TOUCH_REPMODE } | ||
1166 | }; | 1167 | }; |
1167 | static int parse_touchregion(const char *wps_bufptr, | 1168 | static int parse_touchregion(const char *wps_bufptr, |
1168 | struct wps_token *token, struct wps_data *wps_data) | 1169 | struct wps_token *token, struct wps_data *wps_data) |
@@ -1184,6 +1185,8 @@ static int parse_touchregion(const char *wps_bufptr, | |||
1184 | * rwd | 1185 | * rwd |
1185 | * menu - go back to the main menu | 1186 | * menu - go back to the main menu |
1186 | * browse - go back to the file/db browser | 1187 | * browse - go back to the file/db browser |
1188 | * shuffle - toggle shuffle mode | ||
1189 | * repmode - cycle the repeat mode | ||
1187 | */ | 1190 | */ |
1188 | 1191 | ||
1189 | if ((wps_data->touchregion_count +1 >= MAX_TOUCHREGIONS) || (*ptr != '|')) | 1192 | if ((wps_data->touchregion_count +1 >= MAX_TOUCHREGIONS) || (*ptr != '|')) |