#include <core.h>
#include <libpic.h>
#include <libtimer.h>
#include "ttyvar.h"
#include "libtty.h"
#include "pccons.h"
#include "pckbdreg.h"
Data Structures | |
struct | scan_def |
Defines | |
#define | DEBUG_KEYS 1 |
#define | PCCONS_REAL_BS 1 |
#define | SCROLL 0x0001 |
#define | NUM 0x0002 |
#define | CAPS 0x0004 |
#define | SHIFT 0x0008 |
#define | CTL 0x0010 |
#define | ASCII 0x0020 |
#define | ALT 0x0080 |
#define | FUNC 0x0100 |
#define | KP 0x0200 |
#define | NONE 0x0400 |
#define | CODE_SIZE 4 |
#define | RIGHT_SHIFT 0x36 |
#define | LEFT_SHIFT 0x2a |
#define | LEFT_CTRL 0x1d |
#define | NBPROCDEFS 10 |
Functions | |
void | do_kbd_except () |
void | kbd_except () |
void | create_kbd () |
int | pccons_init (t_ttydev *ttydev, t_tty *tty, void **ttydev_data) |
void | pccons_destroy (void *ttydev_data) |
ssize_t | pccons_write (void *ttydev_data, char *buf, int len) |
int | vcons_init (t_ttydev *ttydev, t_tty *tty, void **ttydev_data) |
void | vcons_destroy (void *ttydev_data) |
int | vcons_write (void *ttydev_data, char *buf, int len) |
void | pccons_class_init () |
int | lpscmd (int argc, char **argv) |
int | debug_key (char c) |
Variables | |
t_tty_info | info |
t_tty | ttys [MAXTTY] |
t_ttydev | ttydevs [MAXTTYDEV] |
t_tty * | kbd_tty = NULL |
t_conio * | pccons_conio = NULL |
static scan_def | scan_codes [] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
allocate a task for kbd |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|