]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg-paging/main.c
make keyboard handler use keysyms
[netwatch.git] / aseg-paging / main.c
index 555a6a19f694b60618b18f389a9a11bf2514d4b0..d8fecdd81c4e4f9eac9017136ace40c573ff05bd 100644 (file)
@@ -9,7 +9,7 @@
 #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;
@@ -139,7 +139,8 @@ void gbl_rls_handler(smi_event_t ev)
                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;
        }
This page took 0.02233 seconds and 4 git commands to generate.