From 87b4ef3a15af505f5ed5150ee1dadd2e2bc94c17 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Tue, 20 Sep 2022 13:43:18 +0200 Subject: Remap calls to pad/mouse/keyboard to input --- src/peripheral/inc/peripheral.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/peripheral') 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 -- cgit v1.2.3