e3975e65e5
* Accessibility changes
960 B
960 B
On Gamepad Button
Register code to run when the @boardname@ receives a command from the paired gamepad.
~hint
For another device like a smartphone to use any of the Bluetooth "services" which the @boardname@ has, it must first be paired with the @boardname@. Once paired, the other device may connect to the @boardname@ and exchange data relating to many of the @boardname@'s features.
~
devices.onGamepadButton(MesDpadButtonInfo.ADown, () => {})
Parameters
body
: Action code to run when the the @boardname@ receives a command from the paired gamepad.
See Also
tell remote control to, raise alert to, signal strength, on signal strength changed
devices