summaryrefslogtreecommitdiff
path: root/apps/settings.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/settings.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/settings.h')
-rw-r--r--apps/settings.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/settings.h b/apps/settings.h
index b6d37a0aab..2b86bdd8c7 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -37,24 +37,24 @@
#if CONFIG_KEYPAD == RECORDER_PAD
#define SETTINGS_INC BUTTON_UP
#define SETTINGS_DEC BUTTON_DOWN
-#define SETTINGS_OK (BUTTON_PLAY|BUTTON_REL)
-#define SETTINGS_OK2 (BUTTON_LEFT|BUTTON_REL)
-#define SETTINGS_CANCEL (BUTTON_OFF|BUTTON_REL)
-#define SETTINGS_CANCEL2 (BUTTON_F1|BUTTON_REL)
+#define SETTINGS_OK BUTTON_PLAY
+#define SETTINGS_OK2 BUTTON_LEFT
+#define SETTINGS_CANCEL BUTTON_OFF
+#define SETTINGS_CANCEL2 BUTTON_F1
#elif CONFIG_KEYPAD == PLAYER_PAD
#define SETTINGS_INC BUTTON_RIGHT
#define SETTINGS_DEC BUTTON_LEFT
-#define SETTINGS_OK (BUTTON_PLAY|BUTTON_REL)
-#define SETTINGS_CANCEL (BUTTON_STOP|BUTTON_REL)
-#define SETTINGS_CANCEL2 (BUTTON_MENU|BUTTON_REL)
+#define SETTINGS_OK BUTTON_PLAY
+#define SETTINGS_CANCEL BUTTON_STOP
+#define SETTINGS_CANCEL2 BUTTON_MENU
#elif CONFIG_KEYPAD == ONDIO_PAD
#define SETTINGS_INC BUTTON_UP
#define SETTINGS_DEC BUTTON_DOWN
-#define SETTINGS_OK (BUTTON_RIGHT|BUTTON_REL)
-#define SETTINGS_OK2 (BUTTON_LEFT|BUTTON_REL)
-#define SETTINGS_CANCEL (BUTTON_MENU|BUTTON_REL)
+#define SETTINGS_OK BUTTON_RIGHT
+#define SETTINGS_OK2 BUTTON_LEFT
+#define SETTINGS_CANCEL BUTTON_MENU
#endif