summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/xduoo/button-target.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-29 09:37:57 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-31 14:17:22 +0000
commit125e97b0bf979e1d03b84b17e72fc655b74015fb (patch)
tree693b24abb83fad6dbc9e3da6b3b0fb22c0e20bd6 /firmware/target/hosted/xduoo/button-target.h
parentdd82f13fa1241266576b508180fcf90b8d9bda2c (diff)
downloadrockbox-125e97b0bf.tar.gz
rockbox-125e97b0bf.tar.bz2
rockbox-125e97b0bf.zip
hosted: Consolidate common /dev/input code shared by the hiby targets
* Enable dynamic number of input devices, needed for bluetooth support Change-Id: Ic2425834eb9b0fff298899ab45f3115ce1d95e91
Diffstat (limited to 'firmware/target/hosted/xduoo/button-target.h')
-rw-r--r--firmware/target/hosted/xduoo/button-target.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/hosted/xduoo/button-target.h b/firmware/target/hosted/xduoo/button-target.h
index 3240d3df8e..20bae1c6f6 100644
--- a/firmware/target/hosted/xduoo/button-target.h
+++ b/firmware/target/hosted/xduoo/button-target.h
@@ -40,4 +40,6 @@
#define POWEROFF_BUTTON BUTTON_POWER
#define POWEROFF_COUNT 25
+int button_map(int keycode);
+
#endif /* _BUTTON_TARGET_H_ */