Search
Preparing search index...
The search index is not available
webhid-ds4
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
DualShock4
Class DualShock4
Hierarchy
DualShock4
Index
Constructors
constructor
Properties
device
last
Report
last
Sent
Report
lightbar
rumble
state
Methods
init
process
Controller
Report
send
Local
State
update
State
Constructors
constructor
new
Dual
Shock4
(
)
:
DualShock4
Returns
DualShock4
Properties
Optional
device
device
:
HIDDevice
Optional
last
Report
last
Report
:
ArrayBuffer
Optional
last
Sent
Report
last
Sent
Report
:
ArrayBuffer
lightbar
lightbar
:
DualShock4Lightbar
= new DualShock4Lightbar(this)
rumble
rumble
:
DualShock4Rumble
= new DualShock4Rumble(this)
state
state
:
DualShock4State
= defaultState
Methods
init
init
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Private
process
Controller
Report
process
Controller
Report
(
report
:
HIDInputReportEvent
)
:
void
Parameters
report:
HIDInputReportEvent
Returns
void
send
Local
State
send
Local
State
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Private
update
State
update
State
(
data
:
DataView
)
:
void
Parameters
data:
DataView
Returns
void
Globals
Dual
Shock4
Interface
Dual
Shock4
constructor
device
last
Report
last
Sent
Report
lightbar
rumble
state
init
process
Controller
Report
send
Local
State
update
State
Dual
Shock4
Lightbar
Dual
Shock4
Rumble
Dual
Shock4
Analog
State
Dual
Shock4
Button
State
Dual
Shock4
State
Dual
Shock4
Touchpad
Dual
Shock4
Touchpad
Touch
Generated using
TypeDoc