CursorKeys Op
get the state of your keyboards arrow keys
Summary (oneliner)
Full Name
- Ops.Devices.Keyboard.CursorKeys
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch CursorKeys
character controller using WASD keyboard keys that outputs sprite sheet texture offsets.
sprite sheet by gato pixelizado (https://gato-pixelizado.itch.io/) https://gato-pixelizado.itch.io/top-down-game-2d-character-18x18
INPUT PORTS
canvas only (Number: boolean)
Cursor Keys (Number: boolean)
WASD (Number: boolean)
Active (Number: boolean)
OUTPUT PORTS
Degree (Number)
Up (booleanNumber)
Up Pressed (Trigger)
Down (booleanNumber)
Down Pressed (Trigger)
Left (booleanNumber)
Left Pressed (Trigger)
Right (booleanNumber)
Right Pressed (Trigger)
Any Button Pressed (Number)