summaryrefslogtreecommitdiff
path: root/apps/menu.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2004-10-04 23:08:41 +0000
committerBjörn Stenberg <bjorn@haxx.se>2004-10-04 23:08:41 +0000
commitff4b21d79577ce6f9408c085b44a926b13152c30 (patch)
tree425986f6d538075e18f8886396d47c4e48b20c51 /apps/menu.h
parent305aaf29f388979a6c4edb625bc51b122e8357d7 (diff)
Moved most actions off of button release events.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5164 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.h')
-rw-r--r--apps/menu.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/apps/menu.h b/apps/menu.h
index 7ebfbf316c..d7cdfbf6d6 100644
--- a/apps/menu.h
+++ b/apps/menu.h
@@ -26,25 +26,25 @@
#if CONFIG_KEYPAD == RECORDER_PAD
#define MENU_NEXT BUTTON_DOWN
#define MENU_PREV BUTTON_UP
-#define MENU_EXIT (BUTTON_LEFT | BUTTON_REL)
-#define MENU_EXIT2 (BUTTON_OFF | BUTTON_REL)
-#define MENU_EXIT3 (BUTTON_F1 | BUTTON_REL)
-#define MENU_ENTER (BUTTON_RIGHT | BUTTON_REL)
-#define MENU_ENTER2 (BUTTON_PLAY | BUTTON_REL)
+#define MENU_EXIT BUTTON_LEFT
+#define MENU_EXIT2 BUTTON_OFF
+#define MENU_EXIT3 BUTTON_F1
+#define MENU_ENTER BUTTON_RIGHT
+#define MENU_ENTER2 BUTTON_PLAY
#elif CONFIG_KEYPAD == PLAYER_PAD
#define MENU_NEXT BUTTON_RIGHT
#define MENU_PREV BUTTON_LEFT
-#define MENU_EXIT (BUTTON_STOP | BUTTON_REL)
-#define MENU_EXIT2 (BUTTON_MENU | BUTTON_REL)
-#define MENU_ENTER (BUTTON_PLAY | BUTTON_REL)
+#define MENU_EXIT BUTTON_STOP
+#define MENU_EXIT2 BUTTON_MENU
+#define MENU_ENTER BUTTON_PLAY
#elif CONFIG_KEYPAD == ONDIO_PAD
#define MENU_NEXT BUTTON_DOWN
#define MENU_PREV BUTTON_UP
-#define MENU_EXIT (BUTTON_LEFT | BUTTON_REL)
-#define MENU_EXIT2 (BUTTON_MENU | BUTTON_REL)
-#define MENU_ENTER (BUTTON_RIGHT | BUTTON_REL)
+#define MENU_EXIT BUTTON_LEFT
+#define MENU_EXIT2 BUTTON_MENU
+#define MENU_ENTER BUTTON_RIGHT
#endif