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/olympus/mrobe-100/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/olympus/mrobe-100/button-target.h')
-rw-r--r-- | firmware/target/arm/olympus/mrobe-100/button-target.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/target/arm/olympus/mrobe-100/button-target.h b/firmware/target/arm/olympus/mrobe-100/button-target.h index 93d42d62fb..050fc8de1a 100644 --- a/firmware/target/arm/olympus/mrobe-100/button-target.h +++ b/firmware/target/arm/olympus/mrobe-100/button-target.h | |||
@@ -22,17 +22,12 @@ | |||
22 | #ifndef _BUTTON_TARGET_H_ | 22 | #ifndef _BUTTON_TARGET_H_ |
23 | #define _BUTTON_TARGET_H_ | 23 | #define _BUTTON_TARGET_H_ |
24 | 24 | ||
25 | #include <stdbool.h> | ||
26 | #include "config.h" | 25 | #include "config.h" |
27 | 26 | ||
28 | #define MEP_BUTTON_HEADER 0x1a | 27 | #define MEP_BUTTON_HEADER 0x1a |
29 | #define MEP_BUTTON_ID 0x09 | 28 | #define MEP_BUTTON_ID 0x09 |
30 | #define MEP_ABSOLUTE_HEADER 0x0b | 29 | #define MEP_ABSOLUTE_HEADER 0x0b |
31 | 30 | ||
32 | bool button_hold(void); | ||
33 | void button_init_device(void); | ||
34 | int button_read_device(void); | ||
35 | |||
36 | #ifndef BOOTLOADER | 31 | #ifndef BOOTLOADER |
37 | void button_int(void); | 32 | void button_int(void); |
38 | #endif | 33 | #endif |
@@ -60,7 +55,6 @@ void button_int(void); | |||
60 | 55 | ||
61 | #ifdef HAVE_REMOTE_LCD | 56 | #ifdef HAVE_REMOTE_LCD |
62 | void headphones_int(void); | 57 | void headphones_int(void); |
63 | bool remote_button_hold(void); | ||
64 | 58 | ||
65 | /* Remote control's buttons */ | 59 | /* Remote control's buttons */ |
66 | #define BUTTON_RC_PLAY 0x00010000 | 60 | #define BUTTON_RC_PLAY 0x00010000 |
@@ -77,8 +71,6 @@ bool remote_button_hold(void); | |||
77 | 71 | ||
78 | #define HAS_REMOTE_BUTTON_HOLD | 72 | #define HAS_REMOTE_BUTTON_HOLD |
79 | #define RC_POWEROFF_BUTTON BUTTON_RC_PLAY | 73 | #define RC_POWEROFF_BUTTON BUTTON_RC_PLAY |
80 | #else | ||
81 | #define BUTTON_REMOTE 0 | ||
82 | #endif /* HAVE_REMOTE_LCD */ | 74 | #endif /* HAVE_REMOTE_LCD */ |
83 | 75 | ||
84 | #endif /* _BUTTON_TARGET_H_ */ | 76 | #endif /* _BUTTON_TARGET_H_ */ |