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/hosted/sdl/app/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/hosted/sdl/app/button-target.h')
-rw-r--r-- | firmware/target/hosted/sdl/app/button-target.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/firmware/target/hosted/sdl/app/button-target.h b/firmware/target/hosted/sdl/app/button-target.h index d4396fd0d5..26d0fedcc5 100644 --- a/firmware/target/hosted/sdl/app/button-target.h +++ b/firmware/target/hosted/sdl/app/button-target.h | |||
@@ -22,21 +22,6 @@ | |||
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" | ||
27 | /* | ||
28 | |||
29 | #define HAS_BUTTON_HOLD | ||
30 | |||
31 | bool button_hold(void); | ||
32 | */ | ||
33 | void button_init_device(void); | ||
34 | #ifdef HAVE_BUTTON_DATA | ||
35 | int button_read_device(int *data); | ||
36 | #else | ||
37 | int button_read_device(void); | ||
38 | #endif | ||
39 | |||
40 | /* Main unit's buttons */ | 25 | /* Main unit's buttons */ |
41 | #define BUTTON_UP 0x00000001 | 26 | #define BUTTON_UP 0x00000001 |
42 | #define BUTTON_DOWN 0x00000002 | 27 | #define BUTTON_DOWN 0x00000002 |
@@ -61,9 +46,6 @@ int button_read_device(void); | |||
61 | 46 | ||
62 | #define BUTTON_MAIN 0x1FFF | 47 | #define BUTTON_MAIN 0x1FFF |
63 | 48 | ||
64 | /* No remote */ | ||
65 | #define BUTTON_REMOTE 0 | ||
66 | |||
67 | /* Software power-off */ | 49 | /* Software power-off */ |
68 | #define POWEROFF_BUTTON BUTTON_POWER | 50 | #define POWEROFF_BUTTON BUTTON_POWER |
69 | #define POWEROFF_COUNT 10 | 51 | #define POWEROFF_COUNT 10 |