UIHANDLER OnGamePadButtonDown
Jump to navigation
Jump to search
Fires when a gamepad button is pressed.
OnGamePadButtonDown: self, button
Payload
- button
- string - The name of the button that was pressed.
Details
- Requires that the widget enable receipt of gamepad button inputs. See Frame:EnableGamePadButton(enabled).
- This handler will only be dispatched for the top-most frame that has enabled gamepad button inputs.
Patch changes
Patch 9.0.1 (2020-10-13): Added.
External links
Lua error in Module:Apitooltip at line 30: bad argument #2 to 'format' (string expected, got nil).