diff options
| author | iamcheeseman <[hidden email]> | 2026-01-15 17:12:31 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-01-15 17:12:31 -0500 |
| commit | 012a78995d9e360de1d931943b34f21d4f4a85af (patch) | |
| tree | 4b577303cd1f281bd02666c91608c7a82e6c0bcd /src/input.odin | |
| parent | ef550acd2edb48b80bb9c597ad0ebd46b2432107 (diff) | |
Make minor fixes
Diffstat (limited to 'src/input.odin')
| -rw-r--r-- | src/input.odin | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/input.odin b/src/input.odin index 7ba2884..8326564 100644 --- a/src/input.odin +++ b/src/input.odin @@ -2,13 +2,16 @@ package demonchime import rl "vendor:raylib" -KeybindInput :: union { +KeyboardInput :: union { rl.KeyboardKey, rl.MouseButton, } +ControllerInput :: union { +} + Keybind :: struct { - input: KeybindInput, + input: KeyboardInput, pressed: bool, just_pressed: bool, } |
