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

18 lines
267 B
Plaintext
Raw Normal View History

2024-11-03 19:38:40 -06:00
keycodes := @use("keycodes.hb");
.{KeyCode} := keycodes
2024-11-11 01:23:14 -06:00
KeyEvent := packed struct {
up: bool,
just_triggered: bool,
2024-11-03 19:38:40 -06:00
key: KeyCode,
}
2024-11-10 04:33:50 -06:00
MouseEvent := packed struct {
2024-11-09 20:44:08 -06:00
x_change: i8,
y_change: i8,
2024-11-10 04:33:50 -06:00
left: bool,
middle: bool,
right: bool,
2024-11-03 19:38:40 -06:00
}
GamepadEvent := struct {}