Copy-paste fix pattern
library CB-Input
fn main() {
init_window(320, 180, "Input")
if (is_key_down("Space")) {
println("jump")
}
}
ClosedBit Docs
ClosedBit error docs
Unknown keyboard key. Input code named a key the runtime does not recognize.
Input code named a key the runtime does not recognize.
Use key names such as Left, Right, Space, A, D, W, S, or Escape.
library CB-Input
fn main() {
init_window(320, 180, "Input")
if (is_key_down("Space")) {
println("jump")
}
}