28 lines
886 B
C
28 lines
886 B
C
|
#ifndef __KEYUS_H
|
||
|
#define __KEYUS_H
|
||
|
|
||
|
extern const char kbdus_map[0x80];
|
||
|
extern const char kbdus_map_shift[0x80];
|
||
|
|
||
|
extern volatile byte kb_modifier_status;
|
||
|
extern volatile byte kb_prefix;
|
||
|
extern volatile byte kb_lights_status;
|
||
|
extern byte kb_scancode_set;
|
||
|
|
||
|
extern void i86_kb_set_key(byte scancode, byte val);
|
||
|
extern void i86_kb_set_LEDs(byte status);
|
||
|
extern void i86_kb_set_repeat(byte rate, byte delay);
|
||
|
extern void i86_kb_set_scancodeset(byte set);
|
||
|
extern byte i86_kb_get_key(byte scancode);
|
||
|
extern void i86_kb_handler(ISR_stack_regs *r);
|
||
|
extern kb_key getkey();
|
||
|
extern void i86_kb_set_repeat(byte rate, byte delay);
|
||
|
extern void i86_kb_set_LEDs(byte status);
|
||
|
extern void i86_kb_set_scancodeset(byte set);
|
||
|
extern byte i86_kb_get_scancodeset();
|
||
|
extern void i86_kb_waitin();
|
||
|
extern void i86_kb_waitout();
|
||
|
extern void i86_kb_install_partone();
|
||
|
extern int i86_kb_install_parttwo();
|
||
|
|
||
|
#endif
|