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/tms320dm320/sansa-connect/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/tms320dm320/sansa-connect/button-target.h')
-rw-r--r-- | firmware/target/arm/tms320dm320/sansa-connect/button-target.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/firmware/target/arm/tms320dm320/sansa-connect/button-target.h b/firmware/target/arm/tms320dm320/sansa-connect/button-target.h index 2eb571ae68..5dddfc68d3 100644 --- a/firmware/target/arm/tms320dm320/sansa-connect/button-target.h +++ b/firmware/target/arm/tms320dm320/sansa-connect/button-target.h | |||
@@ -22,10 +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 "config.h" | ||
26 | |||
27 | #define BUTTON_REMOTE 0 | ||
28 | |||
29 | /* these definitions match the avr hid reply */ | 25 | /* these definitions match the avr hid reply */ |
30 | #define BUTTON_LEFT (1 << 2) | 26 | #define BUTTON_LEFT (1 << 2) |
31 | #define BUTTON_UP (1 << 3) | 27 | #define BUTTON_UP (1 << 3) |
@@ -43,8 +39,6 @@ | |||
43 | #define BUTTON_SCROLL_FWD (1 << 7) | 39 | #define BUTTON_SCROLL_FWD (1 << 7) |
44 | #define BUTTON_SCROLL_BACK (1 << 8) | 40 | #define BUTTON_SCROLL_BACK (1 << 8) |
45 | 41 | ||
46 | |||
47 | #define BUTTON_REMOTE 0 | ||
48 | #define BUTTON_MAIN (BUTTON_LEFT | BUTTON_UP | BUTTON_RIGHT | BUTTON_DOWN |\ | 42 | #define BUTTON_MAIN (BUTTON_LEFT | BUTTON_UP | BUTTON_RIGHT | BUTTON_DOWN |\ |
49 | BUTTON_SELECT | BUTTON_VOL_UP | BUTTON_VOL_DOWN |\ | 43 | BUTTON_SELECT | BUTTON_VOL_UP | BUTTON_VOL_DOWN |\ |
50 | BUTTON_NEXT | BUTTON_PREV | BUTTON_POWER |\ | 44 | BUTTON_NEXT | BUTTON_PREV | BUTTON_POWER |\ |
@@ -55,10 +49,4 @@ | |||
55 | 49 | ||
56 | #define HAS_BUTTON_HOLD | 50 | #define HAS_BUTTON_HOLD |
57 | 51 | ||
58 | void button_init_device(void); | ||
59 | int button_read_device(void); | ||
60 | bool button_hold(void); | ||
61 | |||
62 | int get_debug_info(int choice); | ||
63 | |||
64 | #endif /* _BUTTON_TARGET_H_ */ | 52 | #endif /* _BUTTON_TARGET_H_ */ |