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

22 lines
321 B
Plaintext
Raw Normal View History

2024-09-18 03:38:49 -05:00
keycodes := @use("keycodes.hb");
2024-09-17 19:26:37 -05:00
.{KeyCode} := keycodes
MouseEvent := struct {
x_change: u8,
y_change: u8,
left: u8,
middle: u8,
right: u8,
}
KeyEvent := struct {
// 0 if down
// 1 if up
up: u8,
// 0 if not just triggered
// 1 if just triggered
just_triggered: u8,
key: KeyCode,
}
GamepadEvent := struct {}