JoystickOptions

Properties

NameTypeDescription
type?`“angular""dpad”`
buttons?ButtonOptions[]An array of buttons to render on the joystick. See ButtonOptions for details.
zones?ZoneOptionsAn object to define custom zones on the 4 sides of the joystick. See ZoneOptions for details.
keyboard?booleanA boolean value to enable W, A, S and D keys to control joystick.