Optional
buttonAllows this tap target to control multiple gamepad buttons at once useful for e.g. allowing diagonal directions of a dpad. Overrides buttonIndex - Each number in the array is the index corresponding to a button in the EGamepad.buttons array that this tap target will control
What drag/movement gesture directions should result in the button value of this varaible button increasing Typically only one direction will be set to true, but you can set multiple to true if you want to. See: gamepadDirection
The distance drag gesture must go in pixels to appear as a fully pressed button: value = 1
Optional
lockShould this variable button lock the cursor once a drag gesture has started, such that NO pointer/mouse/touch events are fired with that pointer on any other elements on the page unil the gesture is finished (finger leaves the screen or mouse lets go) This option also prevents this button from reacting when a press starts on another button or page element and then the pointer/touch moves over the tap target of this button while being held down.
The element where a tap or mouse click must start to control this variable button. The pointer does not need to remain within this element while dragging to continue controlling the variable button as long as the mouse / touch / pointer is held down and lockTargetWhilePressed is true
The index of the gamepad button this tap target should control corresponds to the button index as found in the EGamepad.buttons array Can also pass a value from the standardGpadButtonMap, xboxButtonMap, etc...