aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral/inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/peripheral/inc')
-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