GamePad Op
Outputs the button states of a gamepad
Summary (oneliner)
to use this, connect to a pad of Ops.Devices.GamePad.GamePads
Full Name
- Ops.Devices.GamePad.GamePad
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch gamepad example
character controller driven by gamepad
sprite sheet by gato pixelizado (https://gato-pixelizado.itch.io/) https://gato-pixelizado.itch.io/top-down-game-2d-character-18x18
INPUT PORTS
GamePad Data (Object)
Analog to Digital (Number: boolean)
OUTPUT PORTS
ID (String)
Axes (Array)
Pad Left (booleanNumber)
Pad Right (booleanNumber)
Pad Up (booleanNumber)
Pad Down (booleanNumber)
Button 1 (booleanNumber)
Button 2 (booleanNumber)
Button 3 (booleanNumber)
Button 4 (booleanNumber)
Left Shoulder (Number)
Left Shoulder Bottom (Number)
Right Shoulder (Number)
Right Shoulder Bottom (Number)