summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness/usb_keyboard.h
blob: 6b65360352c28ce2b00132226fd2bcb5d0d8b794 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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_ */