summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
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