diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2012-01-08 00:07:19 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2012-01-08 00:07:19 +0000 |
commit | 95cf63b294f3cbe2d4da60f32a35c7b07c4b74a3 (patch) | |
tree | 26527cbd96f62ff5a26d46e8b63be40e0a306084 /firmware/target/arm/s5l8700/meizu-m3/button-target.h | |
parent | 63ead774d534db1e07cdae3edb56655d43b19902 (diff) | |
download | rockbox-95cf63b294f3cbe2d4da60f32a35c7b07c4b74a3.tar.gz rockbox-95cf63b294f3cbe2d4da60f32a35c7b07c4b74a3.zip |
button-target.h : move prototypes to button.h
no need to define BUTTON_REMOTE anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31620 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8700/meizu-m3/button-target.h')
-rw-r--r-- | firmware/target/arm/s5l8700/meizu-m3/button-target.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/target/arm/s5l8700/meizu-m3/button-target.h b/firmware/target/arm/s5l8700/meizu-m3/button-target.h index 8aaca17a54..93f102c410 100644 --- a/firmware/target/arm/s5l8700/meizu-m3/button-target.h +++ b/firmware/target/arm/s5l8700/meizu-m3/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 | /* Meizu M3 specific button codes */ | 26 | /* Meizu M3 specific button codes */ |
33 | #define BUTTON_PREVNEXT 0x00000001 | 27 | #define BUTTON_PREVNEXT 0x00000001 |
34 | #define BUTTON_MENU 0x00000002 | 28 | #define BUTTON_MENU 0x00000002 |
@@ -40,8 +34,6 @@ int button_read_device(void); | |||
40 | 34 | ||
41 | #define BUTTON_MAIN (BUTTON_PREVNEXT|BUTTON_MENU|BUTTON_PLAY) | 35 | #define BUTTON_MAIN (BUTTON_PREVNEXT|BUTTON_MENU|BUTTON_PLAY) |
42 | 36 | ||
43 | #define BUTTON_REMOTE 0 | ||
44 | |||
45 | #define POWEROFF_BUTTON BUTTON_PLAY | 37 | #define POWEROFF_BUTTON BUTTON_PLAY |
46 | #define POWEROFF_COUNT 10 | 38 | #define POWEROFF_COUNT 10 |
47 | 39 | ||