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 de2af7e..475be92 100644
--- a/src/input.odin
+++ b/src/input.odin
@@ -17,12 +17,14 @@ actions: struct {
move_left: Keybind,
move_right: Keybind,
jump: Keybind,
+ dash: Keybind,
}
init_keybinds :: proc() {
actions.move_left.input = .A
actions.move_right.input = .D
actions.jump.input = .SPACE
+ actions.dash.input = .LEFT_SHIFT
}
is_keybind_down :: proc(keybind: Keybind) -> bool {