diff options
Diffstat (limited to 'firmware/target/arm/s5l8700/yps3/button-target.h')
-rw-r--r-- | firmware/target/arm/s5l8700/yps3/button-target.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/firmware/target/arm/s5l8700/yps3/button-target.h b/firmware/target/arm/s5l8700/yps3/button-target.h index 86e8488857..4b3ffa4a76 100644 --- a/firmware/target/arm/s5l8700/yps3/button-target.h +++ b/firmware/target/arm/s5l8700/yps3/button-target.h | |||
@@ -21,14 +21,8 @@ | |||
21 | #ifndef _BUTTON_TARGET_H_ | 21 | #ifndef _BUTTON_TARGET_H_ |
22 | #define _BUTTON_TARGET_H_ | 22 | #define _BUTTON_TARGET_H_ |
23 | 23 | ||
24 | #include <stdbool.h> | ||
25 | |||
26 | #define HAS_BUTTON_HOLD | 24 | #define HAS_BUTTON_HOLD |
27 | 25 | ||
28 | bool button_hold(void); | ||
29 | void button_init_device(void); | ||
30 | int button_read_device(void); | ||
31 | |||
32 | #define BUTTON_BACK 0x00000001 | 26 | #define BUTTON_BACK 0x00000001 |
33 | #define BUTTON_MENU 0x00000002 | 27 | #define BUTTON_MENU 0x00000002 |
34 | #define BUTTON_UP 0x00000004 | 28 | #define BUTTON_UP 0x00000004 |
@@ -41,10 +35,7 @@ int button_read_device(void); | |||
41 | #define BUTTON_MAIN (BUTTON_BACK|BUTTON_MENU|BUTTON_UP|BUTTON_DOWN|BUTTON_LEFT|\ | 35 | #define BUTTON_MAIN (BUTTON_BACK|BUTTON_MENU|BUTTON_UP|BUTTON_DOWN|BUTTON_LEFT|\ |
42 | BUTTON_RIGHT|BUTTON_SELECT) | 36 | BUTTON_RIGHT|BUTTON_SELECT) |
43 | 37 | ||
44 | #define BUTTON_REMOTE 0 | ||
45 | |||
46 | #define POWEROFF_BUTTON BUTTON_POWER | 38 | #define POWEROFF_BUTTON BUTTON_POWER |
47 | #define POWEROFF_COUNT 10 | 39 | #define POWEROFF_COUNT 10 |
48 | 40 | ||
49 | #endif /* _BUTTON_TARGET_H_ */ | 41 | #endif /* _BUTTON_TARGET_H_ */ |
50 | |||