aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-09-20 13:43:18 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-09-20 16:56:30 +0200
commit87b4ef3a15af505f5ed5150ee1dadd2e2bc94c17 (patch)
treef3d317088514089d0f84fb553cf9e307dffca549 /src/peripheral
parent14df82ee4db71509f4ec4968df439d4659ca1ac3 (diff)
downloadjancity-87b4ef3a15af505f5ed5150ee1dadd2e2bc94c17.tar.gz
Remap calls to pad/mouse/keyboard to input
Diffstat (limited to 'src/peripheral')
-rw-r--r--src/peripheral/inc/peripheral.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/peripheral/inc/peripheral.h b/src/peripheral/inc/peripheral.h
index 956d965..8f8f73b 100644
--- a/src/peripheral/inc/peripheral.h
+++ b/src/peripheral/inc/peripheral.h
@@ -56,6 +56,7 @@ UTIL_STATIC_ASSERT(!offsetof(struct peripheral_kbm, common),
"unexpected offsetof for struct peripheral_kbm");
void peripheral_init(const struct peripheral_cfg *cfg, union peripheral *p);
+void peripheral_input_set(union peripheral *p, void (*cb)(char, void *));
void peripheral_update(union peripheral *p);
#ifdef __cplusplus