Hierarchy

  • wrapperConfig

Properties

axisDeadZone?: number

A range in which axis values closer to zero than this are simply treated as zero Used to prevent noise from analog sticks from registering as changes when they are not being used

buttonConfigs?: wrapperButtonConfig[]

An array of wrapperButtonConfig that tell the wrapper how to respond to button changes. Should be in the same order as buttons are listed in a native browser Gamepad.buttons list.

updateDelay?: number

The (rough) delay between each update of the gamepad state in ms. A value of 0 means the gamepad state will be updated every frame

Generated using TypeDoc