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

GamePad Op

Related ops:  

Op author: pandur

Outputs the button states of a gamepad

to use this, connect to a pad of Ops.Devices.ListGamePads


GamePad Data (Object)
Analog to Digital (boolean /Number)


ID (String)
Axes (Array)
Pad Left (Number)
Pad Right (Number)
Pad Up (Number)
Pad Down (Number)
Button 1 (Number)
Button 2 (Number)
Button 3 (Number)
Button 4 (Number)
Left Shoulder (Number)
Left Shoulder Bottom (Number)
Right Shoulder (Number)
Right Shoulder Bottom (Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

gamepad example

character controller driven by gamepad

sprite sheet by gato pixelizado (

Patches using GamePad

  • Examples
  • Public
  • My Patches