keyboard
keyboard(
play,map?,options?): () =>void
Presses keys for movements: Space held while in the air, ArrowDown while crouched, an arrow tap per step to the side, Enter on a clap. Returns a function that stops it.
Parameters
Section titled “Parameters”Partial<Record<Action, string>>
options?
Section titled “options?”Returns
Section titled “Returns”() => void