diff options
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, } |
