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:
<i>boolean</i>
)Cursor Keys (Number:
<i>boolean</i>
)WASD (Number:
<i>boolean</i>
)Active (Number:
<i>boolean</i>
)OUTPUT PORTS
Degree (Number)
Up (
<i>boolean</i>
Number)Up Pressed (Trigger)
Down (
<i>boolean</i>
Number)Down Pressed (Trigger)
Left (
<i>boolean</i>
Number)Left Pressed (Trigger)
Right (
<i>boolean</i>
Number)Right Pressed (Trigger)
Any Button Pressed (Number)