diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/button.h | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h index c980e2e36c..e3c37f9382 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h | |||
@@ -1,3 +1,4 @@ | |||
1 | |||
1 | /*************************************************************************** | 2 | /*************************************************************************** |
2 | * __________ __ ___. | 3 | * __________ __ ___. |
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | 4 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
@@ -37,16 +38,18 @@ int button_get_w_tmo(int ticks); | |||
37 | #define BUTTON_LEFT 0x0040 | 38 | #define BUTTON_LEFT 0x0040 |
38 | #define BUTTON_RIGHT 0x0080 | 39 | #define BUTTON_RIGHT 0x0080 |
39 | 40 | ||
40 | /* remote control buttons */ | ||
41 | #define BUTTON_VOL_UP 0x1000 | ||
42 | #define BUTTON_VOL_DOWN 0x1001 | ||
43 | |||
44 | /* Button modifiers */ | 41 | /* Button modifiers */ |
42 | #define BUTTON_REMOTE 0x2000 | ||
45 | #define BUTTON_REPEAT 0x4000 | 43 | #define BUTTON_REPEAT 0x4000 |
46 | #define BUTTON_REL 0x8000 | 44 | #define BUTTON_REL 0x8000 |
47 | 45 | ||
48 | /* Special message */ | 46 | /* remote control buttons */ |
49 | #define BUTTON_LOCKED 0x2000 | 47 | #define BUTTON_RC_VOL_UP (0x0008 | BUTTON_REMOTE) |
48 | #define BUTTON_RC_VOL_DOWN (0x0800 | BUTTON_REMOTE) | ||
49 | #define BUTTON_RC_PLAY (BUTTON_UP | BUTTON_REMOTE) | ||
50 | #define BUTTON_RC_STOP (BUTTON_DOWN | BUTTON_REMOTE) | ||
51 | #define BUTTON_RC_LEFT (BUTTON_LEFT | BUTTON_REMOTE) | ||
52 | #define BUTTON_RC_RIGHT (BUTTON_RIGHT| BUTTON_REMOTE) | ||
50 | 53 | ||
51 | #ifdef HAVE_RECORDER_KEYPAD | 54 | #ifdef HAVE_RECORDER_KEYPAD |
52 | 55 | ||
@@ -57,10 +60,6 @@ int button_get_w_tmo(int ticks); | |||
57 | #define BUTTON_F2 0x0200 | 60 | #define BUTTON_F2 0x0200 |
58 | #define BUTTON_F3 0x0400 | 61 | #define BUTTON_F3 0x0400 |
59 | 62 | ||
60 | #define ALL_BUTTONS (BUTTON_ON | BUTTON_UP | BUTTON_DOWN | BUTTON_LEFT | \ | ||
61 | BUTTON_RIGHT | BUTTON_OFF | BUTTON_PLAY | BUTTON_F1 | \ | ||
62 | BUTTON_F2 | BUTTON_F3) | ||
63 | |||
64 | #elif HAVE_PLAYER_KEYPAD | 63 | #elif HAVE_PLAYER_KEYPAD |
65 | 64 | ||
66 | /* Jukebox 6000 and Studio specific button codes */ | 65 | /* Jukebox 6000 and Studio specific button codes */ |
@@ -68,9 +67,6 @@ int button_get_w_tmo(int ticks); | |||
68 | #define BUTTON_PLAY BUTTON_UP | 67 | #define BUTTON_PLAY BUTTON_UP |
69 | #define BUTTON_STOP BUTTON_DOWN | 68 | #define BUTTON_STOP BUTTON_DOWN |
70 | 69 | ||
71 | #define ALL_BUTTONS (BUTTON_ON | BUTTON_UP | BUTTON_DOWN | BUTTON_LEFT | \ | ||
72 | BUTTON_RIGHT | BUTTON_MENU) | ||
73 | |||
74 | #endif /* HAVE_PLAYER_KEYPAD */ | 70 | #endif /* HAVE_PLAYER_KEYPAD */ |
75 | 71 | ||
76 | #endif | 72 | #endif |