aboutsummaryrefslogtreecommitdiff
path: root/src/input.odin
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.odin')
-rw-r--r--src/input.odin2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input.odin b/src/input.odin
index 0b1d56e..1513c33 100644
--- a/src/input.odin
+++ b/src/input.odin
@@ -19,6 +19,7 @@ actions: struct {
jump: Keybind,
dash: Keybind,
shoot: Keybind,
+ toggle_debug_mode: Keybind,
}
init_keybinds :: proc() {
@@ -27,6 +28,7 @@ init_keybinds :: proc() {
actions.jump.input = .SPACE
actions.dash.input = .LEFT_SHIFT
actions.shoot.input = rl.MouseButton.LEFT
+ actions.toggle_debug_mode.input = .GRAVE
}
is_keybind_down :: proc(keybind: Keybind) -> bool {