Optional
lockShould this button lock the cursor once it is preseed (mouse or touch), such that NO pointer/mouse/touch events are fired with that pointer on any other elements on the page unil the 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.
Taps/clicks/hovers on this element will trigger events for this button on the emulated gamepad.
Generated using TypeDoc
The index of the button this emulated button should controll in the Gamepad.buttons array