#include <stdlib.h>
#include <unistd.h>
#include <kbd.h>
#include <kbd_port.h>
#include <sys/types.h>
#include <thread.h>
#include <bool.h>
Go to the source code of this file.
| Defines | |
| #define | POLL_INTERVAL 10000 | 
| #define | SKI_GETCHAR 21 | 
| Functions | |
| int | kbd_port_init (void) | 
| Initializes keyboard handler. | |
| void | kbd_port_reclaim (void) | 
| void | kbd_port_write (uint8_t data) | 
| void | kbd_port_yield (void) | 
| static int32_t | ski_getchar (void) | 
| Ask Ski if a key was pressed. | |
| static void | ski_thread_impl (void *arg) | 
| Thread to poll Ski for keypresses. | |
| Variables | |
| static volatile bool | polling_disabled = false | 
Definition in file ski.c.
 1.4.7
 1.4.7