summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-04-09 19:17:32 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-04-09 19:17:32 +0000
commitbd39c25586b8d4ecec9761e9d6593e9f5644c168 (patch)
treebd5544e0d3c8cd35dd13da04d408300fc91ecd97
parent92ff0e292d929d91062b9989cc50be8dd7bd93aa (diff)
Now define the _PRE-function correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9585 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/gwps.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/gui/gwps.h b/apps/gui/gwps.h
index e02eb0b66c..9cb4cf29fb 100644
--- a/apps/gui/gwps.h
+++ b/apps/gui/gwps.h
@@ -42,7 +42,8 @@
#define WPS_MENU_PRE BUTTON_MODE
#define WPS_BROWSE (BUTTON_SELECT | BUTTON_REL)
#define WPS_BROWSE_PRE BUTTON_SELECT
-#define WPS_EXIT BUTTON_OFF
+#define WPS_EXIT (BUTTON_OFF | BUTTON_REL)
+#define WPS_EXIT_PRE BUTTON_OFF
#define WPS_ID3 (BUTTON_MODE | BUTTON_ON)
#define WPS_CONTEXT (BUTTON_SELECT | BUTTON_REPEAT)
#define WPS_QUICK (BUTTON_MODE | BUTTON_REPEAT)
@@ -60,7 +61,8 @@
#define WPS_RC_PAUSE BUTTON_RC_ON
#define WPS_RC_INCVOL BUTTON_RC_VOL_UP
#define WPS_RC_DECVOL BUTTON_RC_VOL_DOWN
-#define WPS_RC_EXIT BUTTON_RC_STOP
+#define WPS_RC_EXIT (BUTTON_RC_STOP | BUTTON_REL)
+#define WPS_RC_EXIT_PRE BUTTON_RC_STOP
#define WPS_RC_MENU (BUTTON_RC_MODE | BUTTON_REL)
#define WPS_RC_MENU_PRE BUTTON_RC_MODE
#define WPS_RC_BROWSE (BUTTON_RC_MENU | BUTTON_REL)