summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness/usb_keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/sbc_harness/usb_keyboard.h')
-rw-r--r--cmd/sbc_harness/usb_keyboard.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/cmd/sbc_harness/usb_keyboard.h b/cmd/sbc_harness/usb_keyboard.h
new file mode 100644
index 0000000..6b65360
--- /dev/null
+++ b/cmd/sbc_harness/usb_keyboard.h
@@ -0,0 +1,17 @@
+/* usb_keyboard.h - Implementation of a USB keyboard device
+ *
+ * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
+ * SPDX-Licence-Identifier: AGPL-3.0-or-later
+ */
+
+#ifndef _USB_KEYBOARD_H_
+#define _USB_KEYBOARD_H_
+
+#include "coroutine_rpc.h"
+
+typedef cr_rpc_t(uint32_t, int) usb_keyboard_rpc_t;
+
+void usb_keyboard_init(void);
+COROUTINE usb_keyboard_cr(void *arg);
+
+#endif /* _USB_KEYBOARD_H_ */