Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(Initial documentation for handler)
Tag: WoW API docs
 
m (Fix extraneous "enabled" parameter to IsGamePadButtonEnabled)
Tags: WoW API docs Visual edit: Switched
Line 15: Line 15:
 
== See also ==
 
== See also ==
 
* {{api|Frame:EnableGamePadButton(enabled)}}
 
* {{api|Frame:EnableGamePadButton(enabled)}}
* {{api|Frame:IsGamePadButtonEnabled(enabled)}}
+
* {{api|Frame:IsGamePadButtonEnabled()}}

Revision as of 23:12, 14 October 2020

Fires when a gamepad button is pressed.

OnGamePadButtonDown: 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

See also