ski.c File Reference

Ski console keyboard port driver. More...

#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


Detailed Description

Ski console keyboard port driver.

Definition in file ski.c.


Generated on Thu Jun 2 07:45:55 2011 for HelenOS/USB by  doxygen 1.4.7