diff options
Diffstat (limited to 'firmware/target/arm/as3525/sansa-fuze/button-target.h')
-rw-r--r-- | firmware/target/arm/as3525/sansa-fuze/button-target.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/firmware/target/arm/as3525/sansa-fuze/button-target.h b/firmware/target/arm/as3525/sansa-fuze/button-target.h index c818c602d0..be72e1a35e 100644 --- a/firmware/target/arm/as3525/sansa-fuze/button-target.h +++ b/firmware/target/arm/as3525/sansa-fuze/button-target.h | |||
@@ -37,12 +37,12 @@ void button_int(void); | |||
37 | 37 | ||
38 | /* Sandisk Sansa Fuze button codes */ | 38 | /* Sandisk Sansa Fuze button codes */ |
39 | 39 | ||
40 | /* TODO: These are just a copy of the E200 */ | ||
41 | |||
42 | /* Main unit's buttons */ | 40 | /* Main unit's buttons */ |
43 | #define BUTTON_REC 0x00000001 | 41 | #define BUTTON_HOME 0x00000001 |
42 | |||
44 | #define BUTTON_DOWN 0x00000002 | 43 | #define BUTTON_DOWN 0x00000002 |
45 | #define BUTTON_RIGHT 0x00000004 | 44 | #define BUTTON_RIGHT 0x00000004 |
45 | |||
46 | #define BUTTON_LEFT 0x00000008 | 46 | #define BUTTON_LEFT 0x00000008 |
47 | #define BUTTON_SELECT 0x00000010 | 47 | #define BUTTON_SELECT 0x00000010 |
48 | #define BUTTON_UP 0x00000020 | 48 | #define BUTTON_UP 0x00000020 |
@@ -51,7 +51,11 @@ void button_int(void); | |||
51 | #define BUTTON_SCROLL_BACK 0x00000080 | 51 | #define BUTTON_SCROLL_BACK 0x00000080 |
52 | #define BUTTON_SCROLL_FWD 0x00000100 | 52 | #define BUTTON_SCROLL_FWD 0x00000100 |
53 | 53 | ||
54 | #define BUTTON_MAIN 0x00000fff | 54 | #define BUTTON_HOLD 0x00000200 |
55 | |||
56 | #define BUTTON_MAIN (BUTTON_HOME|BUTTON_DOWN|BUTTON_RIGHT|BUTTON_LEFT \ | ||
57 | |BUTTON_SELECT|BUTTON_UP|BUTTON_POWER \ | ||
58 | |BUTTON_SCROLLBACK|BUTTON_SCROLL_FWD|BUTTON_HOLD) | ||
55 | 59 | ||
56 | /* No Remote control */ | 60 | /* No Remote control */ |
57 | #define BUTTON_REMOTE 0 | 61 | #define BUTTON_REMOTE 0 |