1 |
/* gxemul: $Id: kbdreg.h,v 1.2 2005/03/05 12:34:02 debug Exp $ */ |
/* gxemul: $Id: kbdreg.h,v 1.3 2006/07/25 18:58:02 debug Exp $ */ |
2 |
/* $NetBSD: kbdreg.h,v 1.4 2000/01/23 21:01:57 soda Exp $ */ |
/* $NetBSD: kbdreg.h,v 1.4 2000/01/23 21:01:57 soda Exp $ */ |
3 |
/* $OpenBSD: kbdreg.h,v 1.3 1996/09/04 21:18:24 pefo Exp $ */ |
/* $OpenBSD: kbdreg.h,v 1.3 1996/09/04 21:18:24 pefo Exp $ */ |
4 |
|
|
68 |
/* keyboard commands */ |
/* keyboard commands */ |
69 |
#define KBC_RESET 0xFF /* reset the keyboard */ |
#define KBC_RESET 0xFF /* reset the keyboard */ |
70 |
#define KBC_RESEND 0xFE /* request the keyboard resend the last byte */ |
#define KBC_RESEND 0xFE /* request the keyboard resend the last byte */ |
71 |
|
#define KBC_ONEKEY_MB 0xFC /* make one key make/break */ |
72 |
|
#define KBC_ALLKEYS_TMB 0xFA /* make all keys typematic/make/break */ |
73 |
#define KBC_SETDEFAULT 0xF6 /* resets keyboard to its power-on defaults */ |
#define KBC_SETDEFAULT 0xF6 /* resets keyboard to its power-on defaults */ |
74 |
#define KBC_DISABLE 0xF5 /* as per KBC_SETDEFAULT, but also disable key scanning */ |
#define KBC_DISABLE 0xF5 /* as per KBC_SETDEFAULT, but also disable key scanning */ |
75 |
#define KBC_ENABLE 0xF4 /* enable key scanning */ |
#define KBC_ENABLE 0xF4 /* enable key scanning */ |
76 |
#define KBC_TYPEMATIC 0xF3 /* set typematic rate and delay */ |
#define KBC_TYPEMATIC 0xF3 /* set typematic rate and delay */ |
77 |
|
#define KBC_GETID 0xF2 /* get keyboard id */ |
78 |
#define KBC_SETTABLE 0xF0 /* set scancode translation table */ |
#define KBC_SETTABLE 0xF0 /* set scancode translation table */ |
|
#define KBC_MODEIND 0xED /* set mode indicators (i.e. LEDs) */ |
|
79 |
#define KBC_ECHO 0xEE /* request an echo from the keyboard */ |
#define KBC_ECHO 0xEE /* request an echo from the keyboard */ |
80 |
|
#define KBC_MODEIND 0xED /* set mode indicators (i.e. LEDs) */ |
81 |
|
|
82 |
/* keyboard responses */ |
/* keyboard responses */ |
83 |
#define KBR_EXTENDED 0xE0 /* extended key sequence */ |
#define KBR_EXTENDED 0xE0 /* extended key sequence */ |