|
PatchworkOS
966e257
A non-POSIX operating system.
|
#include <kernel/fs/sysfs.h>#include <kernel/sched/wait.h>#include <stdint.h>#include <sys/kbd.h>Go to the source code of this file.
Data Structures | |
| struct | kbd_t |
| Keyboard structure. More... | |
Macros | |
| #define | KBD_MAX_EVENT 32 |
| Maximum number of queued keyboard events. | |
Functions | |
| kbd_t * | kbd_new (const char *name) |
| Allocate and initialize a keyboard structure. | |
| void | kbd_free (kbd_t *kbd) |
| Free and deinitialize a keyboard structure. | |
| void | kbd_push (kbd_t *kbd, kbd_event_type_t type, keycode_t code) |
| Push a keyboard event to the keyboard event queue. | |