summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/agptek/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/agptek/button-target.h
parentdd82f13fa1241266576b508180fcf90b8d9bda2c (diff)
downloadrockbox-125e97b0bf979e1d03b84b17e72fc655b74015fb.tar.gz
rockbox-125e97b0bf979e1d03b84b17e72fc655b74015fb.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/agptek/button-target.h')
-rw-r--r--firmware/target/hosted/agptek/button-target.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/hosted/agptek/button-target.h b/firmware/target/hosted/agptek/button-target.h
index e13891a554..66a29f60f7 100644
--- a/firmware/target/hosted/agptek/button-target.h
+++ b/firmware/target/hosted/agptek/button-target.h
@@ -39,5 +39,7 @@
#define POWEROFF_BUTTON BUTTON_POWER
#define POWEROFF_COUNT 25
+int button_map(int keycode);
+
#endif /* _BUTTON_TARGET_H_ */