Wait for ACKs when setting the mode
This commit is contained in:
parent
b88904ca7f
commit
7ae3eb6232
2 changed files with 31 additions and 9 deletions
|
@ -27,6 +27,8 @@
|
|||
|
||||
#define KEYBOARD_AT_TRANSLATE 0x40
|
||||
|
||||
#define GRUB_AT_ACK 0xfa
|
||||
|
||||
#define KEYBOARD_ISMAKE(x) !((x) & 0x80)
|
||||
#define KEYBOARD_ISREADY(x) ((x) & 0x01)
|
||||
#define KEYBOARD_SCANCODE(x) ((x) & 0x7f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue