-
Notifications
You must be signed in to change notification settings - Fork 1
List of Settings
Possible values (both min and max): Float
range from 0
– 1
Default: {min: 0.0, max: 1.0}
Assigns a dead area to joysticks. Min affects an area from center and max from the outter rim.
Possible values: Float
range from 0
– 1
Default: 0.7
Specifies how far an analog stick must be pressed to register as a D-pad press. This setting is only used when useAnalogAsDpad
is neither "none"
nor false
.
Possible values: Float
range from 0
– 1
Default: 0.95
Specifies how far a button must be pressed to register as a "press".
Possible values: "none"
, "square"
, "circle"
Default: "none"
When set to "none"
, no processing is done on analog stick coordinates. Setting it to "square"
will make sure the outer bounds of the x and y values will reach the outter edges of a square.
The "circle"
setting is in development.
Possible values: "none"
, "left"
, "right"
, "both"
, false
Default: "none"
Specifies whether analog sticks should fire D-pad events, and if so, which stick(s).
The MIT License (MIT)
Copyright © 2022 Jack Carey
Setup
Buttons & Analog Sticks
Controller Layouts
Configuring Settings
Controller Events
Button Events
Analog Stick Events
Controller.supported
Controller.controllers
Controller.controllerCount
Controller.search()
Controller.getController()
Controller.watchAll()
Controller.unwatchAll()
.connectedTimestamp
.id
.index
.inputs
.layoutInfo
.name
.watch()
.unwatch()
Settings Objects
List of Settings
settings.list()
settings.clear()
settings.update()
→ Grunt Tasks
→ Registering Settings
→ Creating Layout Maps