diff options
Diffstat (limited to 'firmware/target/arm/s5l8702/ipod6g/button-target.h')
-rw-r--r-- | firmware/target/arm/s5l8702/ipod6g/button-target.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/firmware/target/arm/s5l8702/ipod6g/button-target.h b/firmware/target/arm/s5l8702/ipod6g/button-target.h index ed17fc4baa..a5c4771b7c 100644 --- a/firmware/target/arm/s5l8702/ipod6g/button-target.h +++ b/firmware/target/arm/s5l8702/ipod6g/button-target.h | |||
@@ -47,15 +47,20 @@ void ipod_4g_button_int(void); | |||
47 | 47 | ||
48 | /* Remote control's buttons */ | 48 | /* Remote control's buttons */ |
49 | #ifdef IPOD_ACCESSORY_PROTOCOL | 49 | #ifdef IPOD_ACCESSORY_PROTOCOL |
50 | #define BUTTON_RC_DOWN 0x01000000 | ||
51 | #define BUTTON_RC_UP 0x00800000 | ||
52 | #define BUTTON_RC_SELECT 0x00400000 | ||
53 | #define BUTTON_RC_MENU 0x00200000 | ||
50 | #define BUTTON_RC_PLAY 0x00100000 | 54 | #define BUTTON_RC_PLAY 0x00100000 |
51 | #define BUTTON_RC_STOP 0x00080000 | 55 | #define BUTTON_RC_STOP 0x00080000 |
52 | |||
53 | #define BUTTON_RC_LEFT 0x00040000 | 56 | #define BUTTON_RC_LEFT 0x00040000 |
54 | #define BUTTON_RC_RIGHT 0x00020000 | 57 | #define BUTTON_RC_RIGHT 0x00020000 |
55 | #define BUTTON_RC_VOL_UP 0x00010000 | 58 | #define BUTTON_RC_VOL_UP 0x00010000 |
56 | #define BUTTON_RC_VOL_DOWN 0x00008000 | 59 | #define BUTTON_RC_VOL_DOWN 0x00008000 |
57 | 60 | ||
58 | #define BUTTON_REMOTE (BUTTON_RC_PLAY|BUTTON_RC_STOP\ | 61 | #define BUTTON_REMOTE (BUTTON_RC_UP|BUTTON_RC_DOWN \ |
62 | |BUTTON_RC_SELECT|BUTTON_RC_PLAY \ | ||
63 | |BUTTON_RC_PLAY|BUTTON_RC_STOP \ | ||
59 | |BUTTON_RC_LEFT|BUTTON_RC_RIGHT\ | 64 | |BUTTON_RC_LEFT|BUTTON_RC_RIGHT\ |
60 | |BUTTON_RC_VOL_UP|BUTTON_RC_VOL_DOWN) | 65 | |BUTTON_RC_VOL_UP|BUTTON_RC_VOL_DOWN) |
61 | #endif | 66 | #endif |