#include <sys/types.h>
#include <io/console.h>
#include <bool.h>
Go to the source code of this file.
Data Structures | |
struct | keybuffer_t |
Defines | |
#define | KEYBUFFER_SIZE 128 |
Size of buffer for pressed keys. | |
Functions | |
size_t | keybuffer_available (keybuffer_t *keybuffer) |
Get free space in buffer. | |
bool | keybuffer_empty (keybuffer_t *keybuffer) |
void | keybuffer_free (keybuffer_t *keybuffer) |
Clear key buffer. | |
void | keybuffer_init (keybuffer_t *keybuffer) |
Key buffer initialization. | |
bool | keybuffer_pop (keybuffer_t *keybuffer, console_event_t *edst) |
Pop event from buffer. | |
void | keybuffer_push (keybuffer_t *keybuffer, const console_event_t *ev) |
Push key event to key buffer. |
Definition in file keybuffer.h.