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
commit4c5630b0d409419d6de905379a06893eac64996b (patch)
tree86e023c6b65e01c1c942f56639d1d38f1c80313f /src/peripheral
parent684587a3c360380e865f9e95cc811fb1276983af (diff)
downloadrts-4c5630b0d409419d6de905379a06893eac64996b.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