summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire/iriver/button-target.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-10-29 13:48:57 +0000
committerJens Arnold <amiconn@rockbox.org>2006-10-29 13:48:57 +0000
commit85c9a05c56a290a0dd1686808d5bdb966d72f9a5 (patch)
tree4c05a7348210ed469e7ee0104f782c5e27378979 /firmware/target/coldfire/iriver/button-target.h
parentc4c4709d82e91f21283721eefcebe18182d901be (diff)
downloadrockbox-85c9a05c56a290a0dd1686808d5bdb966d72f9a5.tar.gz
rockbox-85c9a05c56a290a0dd1686808d5bdb966d72f9a5.tar.bz2
rockbox-85c9a05c56a290a0dd1686808d5bdb966d72f9a5.zip
H300: Don't read the button ADC as long as no button is pressed, utilising the PCF50606 accessory detect feature. Ported from X5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11383 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/iriver/button-target.h')
-rw-r--r--firmware/target/coldfire/iriver/button-target.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/coldfire/iriver/button-target.h b/firmware/target/coldfire/iriver/button-target.h
index b89761b317..3d3247ab80 100644
--- a/firmware/target/coldfire/iriver/button-target.h
+++ b/firmware/target/coldfire/iriver/button-target.h
@@ -33,6 +33,10 @@ bool remote_button_hold(void);
bool remote_button_hold_only(void);
void button_init_device(void);
int button_read_device(void);
+#ifdef IRIVER_H300_SERIES
+void button_enable_scan(bool enable);
+bool button_scan_enabled(void);
+#endif
/* iRiver H100/H300 specific button codes */