21 lines
332 B
Plaintext
21 lines
332 B
Plaintext
InputTransition :: struct {
|
|
left_down : bool;
|
|
left_up : bool;
|
|
|
|
right_down : bool;
|
|
right_up : bool;
|
|
|
|
mouse_wheel : s64;
|
|
motion_delta : Vector2;
|
|
}
|
|
|
|
InputState :: struct {
|
|
left_mouse : bool;
|
|
right_mouse : bool;
|
|
|
|
last_char : s32;
|
|
}
|
|
|
|
input_state : InputState;
|
|
input_transitions : [..]InputTransition;
|