diff options
Diffstat (limited to 'firmware/target/arm/as3525/sansa-m200v4/button-target.h')
-rw-r--r-- | firmware/target/arm/as3525/sansa-m200v4/button-target.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/firmware/target/arm/as3525/sansa-m200v4/button-target.h b/firmware/target/arm/as3525/sansa-m200v4/button-target.h index 779f7400bb..49a7409a6b 100644 --- a/firmware/target/arm/as3525/sansa-m200v4/button-target.h +++ b/firmware/target/arm/as3525/sansa-m200v4/button-target.h | |||
@@ -32,24 +32,24 @@ int button_read_device(void); | |||
32 | bool button_hold(void); | 32 | bool button_hold(void); |
33 | 33 | ||
34 | /* Main unit's buttons */ | 34 | /* Main unit's buttons */ |
35 | #define BUTTON_MENU 0x00000001 | 35 | #define BUTTON_POWER 0x00000001 |
36 | #define BUTTON_VOLUP 0x00000002 | 36 | #define BUTTON_VOL_UP 0x00000002 |
37 | #define BUTTON_VOLDOWN 0x00000004 | 37 | #define BUTTON_VOL_DOWN 0x00000004 |
38 | #define BUTTON_PLAYPAUSE 0x00000008 | 38 | #define BUTTON_UP 0x00000008 |
39 | #define BUTTON_REPEATAB 0x00000010 | 39 | #define BUTTON_DOWN 0x00000010 |
40 | #define BUTTON_LEFT 0x00000020 | 40 | #define BUTTON_LEFT 0x00000020 |
41 | #define BUTTON_RIGHT 0x00000040 | 41 | #define BUTTON_RIGHT 0x00000040 |
42 | #define BUTTON_SELECT 0x00000080 | 42 | #define BUTTON_SELECT 0x00000080 |
43 | #define BUTTON_HOLD 0x00000100 | 43 | #define BUTTON_HOLD 0x00000100 |
44 | 44 | ||
45 | #define BUTTON_MAIN (BUTTON_MENU|BUTTON_VOLUP|BUTTON_VOLDOWN\ | 45 | #define BUTTON_MAIN (BUTTON_POWER|BUTTON_VOL_UP|BUTTON_VOL_DOWN\ |
46 | |BUTTON_PLAYPAUSE|BUTTON_REPEATAB|BUTTON_LEFT\ | 46 | |BUTTON_UP|BUTTON_DOWN|BUTTON_LEFT\ |
47 | |BUTTON_RIGHT|BUTTON_SELECT|BUTTON_HOLD) | 47 | |BUTTON_RIGHT|BUTTON_SELECT|BUTTON_HOLD) |
48 | 48 | ||
49 | #define BUTTON_REMOTE 0 | 49 | #define BUTTON_REMOTE 0 |
50 | 50 | ||
51 | /* Software power-off */ | 51 | /* Software power-off */ |
52 | #define POWEROFF_BUTTON BUTTON_MENU | 52 | #define POWEROFF_BUTTON BUTTON_POWER |
53 | #define POWEROFF_COUNT 40 | 53 | #define POWEROFF_COUNT 40 |
54 | 54 | ||
55 | #endif /* _BUTTON_TARGET_H_ */ | 55 | #endif /* _BUTTON_TARGET_H_ */ |