summaryrefslogtreecommitdiff
path: root/usb_keyboard.h
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-18 11:18:02 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-18 11:18:02 -0600
commit4469398272d78adb81968178276180f16cc8e647 (patch)
treec360226922c543a5d2fd985ca1e078bb8a603f72 /usb_keyboard.h
parent05ce08877ff420ca9fc77599dd947ff610d02cb0 (diff)
fixes for arm?
Diffstat (limited to 'usb_keyboard.h')
-rw-r--r--usb_keyboard.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/usb_keyboard.h b/usb_keyboard.h
index e989700..40b0bb2 100644
--- a/usb_keyboard.h
+++ b/usb_keyboard.h
@@ -11,15 +11,7 @@
typedef cr_chan_t(uint32_t, int) usb_keyboard_chan_t;
-typedef struct {
- usb_keyboard_chan_t *chan;
- uint32_t rune;
- uint8_t report_id;
- uint8_t modifier;
- uint8_t keycodes[0];
-} usb_keyboard_stack_t;
-
void usb_keyboard_init(void);
-void usb_keyboard_cr(void *stack);
+COROUTINE usb_keyboard_cr(void *arg);
#endif /* _USB_KEYBOARD_H_ */