beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

GamePads Op

GamePads

list connected gamepads - press a button to connect


pad outputs can be connected to Ops.Devices.GamePad to receive button states


Edit Documentation

Full Name
  • Ops.Devices.GamePad.GamePads
Visibility
  • Core Op - Official cables op
AuthorTest Patches


 

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

Open In Editor

INPUT PORTS


exe (Trigger)

trigger to update gamepad button/axis states

OUTPUT PORTS


Num Gamepads (Number)
Pad 0 (Object)
Pad 1 (Object)
Pad 2 (Object)
Pad 3 (Object)

Usages of GamePads

  • Examples
  • Public
  • My Patches
  • Ops