UNIX xv6 (rev8, 9/1/15)
|
Go to the source code of this file.
Macros | |
#define | KBSTATP 0x64 |
#define | KBS_DIB 0x01 |
#define | KBDATAP 0x60 |
#define | NO 0 |
#define | SHIFT (1<<0) |
#define | CTL (1<<1) |
#define | ALT (1<<2) |
#define | CAPSLOCK (1<<3) |
#define | NUMLOCK (1<<4) |
#define | SCROLLLOCK (1<<5) |
#define | E0ESC (1<<6) |
#define | KEY_HOME 0xE0 |
#define | KEY_END 0xE1 |
#define | KEY_UP 0xE2 |
#define | KEY_DN 0xE3 |
#define | KEY_LF 0xE4 |
#define | KEY_RT 0xE5 |
#define | KEY_PGUP 0xE6 |
#define | KEY_PGDN 0xE7 |
#define | KEY_INS 0xE8 |
#define | KEY_DEL 0xE9 |
#define | C(x) (x - '@') |