Creates a new DualShock gamepad object
defines the id of this gamepad
defines its index
defines the internal HTML gamepad object
The browser gamepad
Sets the value of the Circle
button
Sets the value of the Cross
button
Sets the value of the L1
button
Sets the value of the Left joystick
Sets the value of the Options
button
Sets the value of the R1
button
Sets the value of the Right joystick
Sets the value of the Share
button
Sets the value of the Square
button
Sets the value of the Triangle
button
Sets the value of D-pad down
Sets the value of D-pad left
Sets the value of D-pad right
Sets the value of D-pad up
The id of the gamepad
The index of the gamepad
Specifies if the gamepad has been connected
Sets the left joystick values
Sets the left trigger value
Observable raised when a button is pressed
Observable raised when a button is released
Observable raised when a pad is pressed
Observable raised when a pad is released
Sets the right joystick value
Sets the right trigger value
Specifies what type of gamepad this represents
Represents an Dual Shock controller
Represents a gamepad controller
Represents a generic controller
Represents a pose-enabled controller
Represents an XBox controller
Disposes the gamepad
Defines the callback to call when a button is pressed
defines the callback to use
Defines the callback to call when a button is released
defines the callback to use
Defines the callback to call when a pad is pressed
defines the callback to use
Defines the callback to call when a pad is released
defines the callback to use
Callback triggered when the left joystick has changed
Defines the callback to call when left trigger is pressed
defines the callback to use
Callback triggered when the right joystick has changed
Defines the callback to call when right trigger is pressed
defines the callback to use
Force the gamepad to synchronize with device values
Generated using TypeDoc
Defines a DualShock gamepad