ableos/sysdata/libraries/intouch/src/events.hb
2024-11-11 01:23:14 -06:00

18 lines
267 B
Plaintext

keycodes := @use("keycodes.hb");
.{KeyCode} := keycodes
KeyEvent := packed struct {
up: bool,
just_triggered: bool,
key: KeyCode,
}
MouseEvent := packed struct {
x_change: i8,
y_change: i8,
left: bool,
middle: bool,
right: bool,
}
GamepadEvent := struct {}