forked from AbleOS/ableos
15 lines
318 B
Plaintext
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
|
|
} |