From 13cc654ceace5ead037b6494813c79a73b0add3e Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Fri, 15 May 2009 06:02:50 +0000 Subject: More touchscreen additions, quickscreen, browser, context menu, skip fwd/back buttons in the mr500 wps (a "button bar" will pop up for 2.5s when the screen is touched.) icons by Johannes Voggenthaler pitch screen icon is there but not used because that screen isnt fixed for the touhscreen yet git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20939 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/wps_parser.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/gui') diff --git a/apps/gui/wps_parser.c b/apps/gui/wps_parser.c index d8155d71df..70e13e78a7 100644 --- a/apps/gui/wps_parser.c +++ b/apps/gui/wps_parser.c @@ -1163,7 +1163,8 @@ static struct touchaction touchactions[] = { {"play", ACTION_WPS_PLAY }, {"stop", ACTION_WPS_STOP }, {"prev", ACTION_WPS_SKIPPREV }, {"next", ACTION_WPS_SKIPNEXT }, {"menu", ACTION_WPS_MENU }, {"browse", ACTION_WPS_BROWSE }, - {"shuffle", ACTION_TOUCH_SHUFFLE }, {"repmode", ACTION_TOUCH_REPMODE } + {"shuffle", ACTION_TOUCH_SHUFFLE }, {"repmode", ACTION_TOUCH_REPMODE }, + {"quickscreen", ACTION_WPS_QUICKSCREEN },{"contextmenu", ACTION_WPS_CONTEXT }, }; static int parse_touchregion(const char *wps_bufptr, struct wps_token *token, struct wps_data *wps_data) @@ -1187,6 +1188,8 @@ static int parse_touchregion(const char *wps_bufptr, * browse - go back to the file/db browser * shuffle - toggle shuffle mode * repmode - cycle the repeat mode + * quickscreen - go into the quickscreen + * contextmenu - open the context menu */ if ((wps_data->touchregion_count +1 >= MAX_TOUCHREGIONS) || (*ptr != '|')) -- cgit v1.2.3