|
PatchworkOS
dbbdc99
A non-POSIX operating system.
|
#include <kernel/fs/devfs.h>#include <kernel/sched/wait.h>#include <kernel/sync/lock.h>#include <kernel/utils/fifo.h>#include <stdint.h>#include <sys/kbd.h>#include <sys/proc.h>Go to the source code of this file.
Data Structures | |
| struct | kbd_client_t |
| Keyboard event client structure. More... | |
| struct | kbd_t |
| Keyboard structure. More... | |
Macros | |
| #define | KBD_CLIENT_BUFFER_SIZE 512 |
| Size of the keyboard client buffer. | |
Typedefs | |
| typedef struct kbd | kbd_t |
Functions | |
| kbd_t * | kbd_new (const char *name) |
| Allocate and initialize a new keyboard. | |
| void | kbd_free (kbd_t *kbd) |
| Frees a keyboard. | |
| void | kbd_press (kbd_t *kbd, keycode_t code) |
| Push a keyboard press event to the keyboard event queue. | |
| void | kbd_release (kbd_t *kbd, keycode_t code) |
| Push a keyboard release event to the keyboard event queue. | |