From da2b45f2e5cfcdf730849fbd5261ef8f0761bdcb Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 23 Jun 2005 10:11:10 +0000 Subject: When exiting the context menu with the menu button, call the main menu. Mainly useful on Ondio which can't have both main menu and context menu bound in wps. Holding MODE on Ondio will now bring up the wps context menu instead of the main menu. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6840 a1c6a512-1295-4272-9138-f99709370657 --- apps/wps.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/wps.h') diff --git a/apps/wps.h b/apps/wps.h index 2af2c72ef3..4f22ed9e45 100644 --- a/apps/wps.h +++ b/apps/wps.h @@ -115,11 +115,12 @@ #define WPS_INCVOL BUTTON_UP #define WPS_DECVOL BUTTON_DOWN #define WPS_PAUSE BUTTON_OFF -#define WPS_MENU (BUTTON_MENU | BUTTON_REPEAT) +/* #define WPS_MENU Ondio can't have both main menu and context menu in wps */ #define WPS_BROWSE (BUTTON_MENU | BUTTON_REL) #define WPS_BROWSE_PRE BUTTON_MENU #define WPS_KEYLOCK (BUTTON_MENU | BUTTON_DOWN) #define WPS_EXIT (BUTTON_OFF | BUTTON_REPEAT) +#define WPS_CONTEXT (BUTTON_MENU | BUTTON_REPEAT) #elif CONFIG_KEYPAD == GMINI100_PAD #define WPS_NEXT (BUTTON_RIGHT | BUTTON_REL) -- cgit v1.2.3