1
0
Fork 0
forked from AbleOS/ableos
ableos-idl/sysdata/libraries/intouch/src/lib.hb

15 lines
318 B
Plaintext
Raw Normal View History

2024-11-03 19:38:40 -06:00
stn := @use("../../stn/src/lib.hb");
.{log, buffer} := stn
events := @use("events.hb");
.{KeyEvent, MouseEvent} := events
2024-09-17 19:26:37 -05:00
2024-11-03 19:38:40 -06:00
recieve_key_event := fn(): ?KeyEvent {
2024-11-03 19:53:09 -06:00
buf := buffer.search("PS/2 Keyboard\0")
// Read out of the keyboard buffer here
2024-11-03 19:38:40 -06:00
return null
2024-09-17 19:26:37 -05:00
}
2024-11-03 19:38:40 -06:00
recieve_mouse_event := fn(): ?MouseEvent {
return null
}