#include "../net/net.h"
#include "vga-overlay.h"
#include "../aseg/packet.h"
- #include "../aseg/keyboard.h"
+ #include "keyboard.h"
unsigned int lastctr = 0;
extern unsigned int counter;
while (inb(0x64) & 0x02) /* wait for completion */
;
smi_enable_event(SMI_EVENT_DEVTRAP_KBC);
- }
+ } else if (kbd_has_injected_scancode())
+ outputf("Would like to inject, but %d %d", _ibf_ready, _waiting_for_data);
outb(0x80, (ticks++) & 0xFF);
dump_log((char *)packet->data);
*(unsigned long*)0xAFFD4 = 42;
} else if (packet->type == 0xAA) {
- kbd_inject_key('A');
+ kbd_inject_keysym('A', 1);
+ kbd_inject_keysym('A', 0);
} else {
*(unsigned long*)0xAFFD4 = 0x2BADD00D;
}