ableos/sysdata/libraries/intouch/src/lib.hb
2024-11-03 19:53:09 -06:00

15 lines
318 B
Plaintext

stn := @use("../../stn/src/lib.hb");
.{log, buffer} := stn
events := @use("events.hb");
.{KeyEvent, MouseEvent} := events
recieve_key_event := fn(): ?KeyEvent {
buf := buffer.search("PS/2 Keyboard\0")
// Read out of the keyboard buffer here
return null
}
recieve_mouse_event := fn(): ?MouseEvent {
return null
}