dualsense-ts 2.1.44 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/elements/analog.d.ts +46 -3
- package/dist/elements/analog.d.ts.map +1 -1
- package/dist/elements/analog.js +41 -14
- package/dist/elements/analog.js.map +1 -1
- package/dist/elements/axis.js +3 -3
- package/dist/elements/axis.js.map +1 -1
- package/docs/Analog.md +79 -38
- package/docs/AnalogParams.md +9 -7
- package/docs/Axis.md +29 -29
- package/docs/Brightness.md +3 -3
- package/docs/CommandScopeA.md +7 -7
- package/docs/CommandScopeB.md +6 -6
- package/docs/Dpad.md +31 -31
- package/docs/DpadParams.md +8 -8
- package/docs/DualSenseCommand.md +45 -45
- package/docs/Dualsense.md +40 -40
- package/docs/DualsenseHID.md +4 -4
- package/docs/DualsenseHIDState.md +41 -41
- package/docs/DualsenseParams.md +17 -17
- package/docs/Exports.md +12 -12
- package/docs/Haptic.md +1 -1
- package/docs/Increment.md +27 -27
- package/docs/Indicator.md +2 -2
- package/docs/Input.md +27 -27
- package/docs/InputId.md +41 -41
- package/docs/InputParams.md +4 -4
- package/docs/LedOptions.md +4 -4
- package/docs/Momentary.md +27 -27
- package/docs/Motion.md +2 -2
- package/docs/Mute.md +29 -29
- package/docs/PlayerID.md +5 -5
- package/docs/PulseOptions.md +3 -3
- package/docs/Touch.md +83 -40
- package/docs/Touchpad.md +30 -30
- package/docs/Trigger.md +32 -32
- package/docs/TriggerMode.md +10 -10
- package/docs/Unisense.md +31 -31
- package/docs/UnisenseParams.md +7 -7
- package/package.json +1 -1
- package/src/elements/analog.ts +56 -18
- package/src/elements/axis.ts +3 -3
package/docs/Touchpad.md
CHANGED
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
|
|
91
91
|
#### Defined in
|
|
92
92
|
|
|
93
|
-
[src/elements/touchpad.ts:18](https://github.com/nsfm/dualsense-ts/blob/
|
|
93
|
+
[src/elements/touchpad.ts:18](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/elements/touchpad.ts#L18)
|
|
94
94
|
|
|
95
95
|
## Properties
|
|
96
96
|
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
|
|
120
120
|
#### Defined in
|
|
121
121
|
|
|
122
|
-
[src/input.ts:128](https://github.com/nsfm/dualsense-ts/blob/
|
|
122
|
+
[src/input.ts:128](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L128)
|
|
123
123
|
|
|
124
124
|
___
|
|
125
125
|
|
|
@@ -133,7 +133,7 @@ ___
|
|
|
133
133
|
|
|
134
134
|
#### Defined in
|
|
135
135
|
|
|
136
|
-
[src/input.ts:162](https://github.com/nsfm/dualsense-ts/blob/
|
|
136
|
+
[src/input.ts:162](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L162)
|
|
137
137
|
|
|
138
138
|
___
|
|
139
139
|
|
|
@@ -147,7 +147,7 @@ ___
|
|
|
147
147
|
|
|
148
148
|
#### Defined in
|
|
149
149
|
|
|
150
|
-
[src/input.ts:157](https://github.com/nsfm/dualsense-ts/blob/
|
|
150
|
+
[src/input.ts:157](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L157)
|
|
151
151
|
|
|
152
152
|
___
|
|
153
153
|
|
|
@@ -161,7 +161,7 @@ ___
|
|
|
161
161
|
|
|
162
162
|
#### Defined in
|
|
163
163
|
|
|
164
|
-
[src/input.ts:154](https://github.com/nsfm/dualsense-ts/blob/
|
|
164
|
+
[src/input.ts:154](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L154)
|
|
165
165
|
|
|
166
166
|
___
|
|
167
167
|
|
|
@@ -175,7 +175,7 @@ ___
|
|
|
175
175
|
|
|
176
176
|
#### Defined in
|
|
177
177
|
|
|
178
|
-
[src/input.ts:160](https://github.com/nsfm/dualsense-ts/blob/
|
|
178
|
+
[src/input.ts:160](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L160)
|
|
179
179
|
|
|
180
180
|
___
|
|
181
181
|
|
|
@@ -185,7 +185,7 @@ ___
|
|
|
185
185
|
|
|
186
186
|
#### Defined in
|
|
187
187
|
|
|
188
|
-
[src/elements/touchpad.ts:12](https://github.com/nsfm/dualsense-ts/blob/
|
|
188
|
+
[src/elements/touchpad.ts:12](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/elements/touchpad.ts#L12)
|
|
189
189
|
|
|
190
190
|
___
|
|
191
191
|
|
|
@@ -199,7 +199,7 @@ ___
|
|
|
199
199
|
|
|
200
200
|
#### Defined in
|
|
201
201
|
|
|
202
|
-
[src/input.ts:58](https://github.com/nsfm/dualsense-ts/blob/
|
|
202
|
+
[src/input.ts:58](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L58)
|
|
203
203
|
|
|
204
204
|
___
|
|
205
205
|
|
|
@@ -213,7 +213,7 @@ ___
|
|
|
213
213
|
|
|
214
214
|
#### Defined in
|
|
215
215
|
|
|
216
|
-
[src/input.ts:61](https://github.com/nsfm/dualsense-ts/blob/
|
|
216
|
+
[src/input.ts:61](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L61)
|
|
217
217
|
|
|
218
218
|
___
|
|
219
219
|
|
|
@@ -227,7 +227,7 @@ ___
|
|
|
227
227
|
|
|
228
228
|
#### Defined in
|
|
229
229
|
|
|
230
|
-
[src/input.ts:64](https://github.com/nsfm/dualsense-ts/blob/
|
|
230
|
+
[src/input.ts:64](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L64)
|
|
231
231
|
|
|
232
232
|
___
|
|
233
233
|
|
|
@@ -237,7 +237,7 @@ ___
|
|
|
237
237
|
|
|
238
238
|
#### Defined in
|
|
239
239
|
|
|
240
|
-
[src/elements/touchpad.ts:15](https://github.com/nsfm/dualsense-ts/blob/
|
|
240
|
+
[src/elements/touchpad.ts:15](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/elements/touchpad.ts#L15)
|
|
241
241
|
|
|
242
242
|
___
|
|
243
243
|
|
|
@@ -247,7 +247,7 @@ ___
|
|
|
247
247
|
|
|
248
248
|
#### Defined in
|
|
249
249
|
|
|
250
|
-
[src/elements/touchpad.ts:16](https://github.com/nsfm/dualsense-ts/blob/
|
|
250
|
+
[src/elements/touchpad.ts:16](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/elements/touchpad.ts#L16)
|
|
251
251
|
|
|
252
252
|
___
|
|
253
253
|
|
|
@@ -261,7 +261,7 @@ ___
|
|
|
261
261
|
|
|
262
262
|
#### Defined in
|
|
263
263
|
|
|
264
|
-
[src/elements/touchpad.ts:6](https://github.com/nsfm/dualsense-ts/blob/
|
|
264
|
+
[src/elements/touchpad.ts:6](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/elements/touchpad.ts#L6)
|
|
265
265
|
|
|
266
266
|
___
|
|
267
267
|
|
|
@@ -275,7 +275,7 @@ ___
|
|
|
275
275
|
|
|
276
276
|
#### Defined in
|
|
277
277
|
|
|
278
|
-
[src/input.ts:67](https://github.com/nsfm/dualsense-ts/blob/
|
|
278
|
+
[src/input.ts:67](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L67)
|
|
279
279
|
|
|
280
280
|
___
|
|
281
281
|
|
|
@@ -359,7 +359,7 @@ Input.\_\_@toStringTag@66
|
|
|
359
359
|
|
|
360
360
|
#### Defined in
|
|
361
361
|
|
|
362
|
-
[src/input.ts:149](https://github.com/nsfm/dualsense-ts/blob/
|
|
362
|
+
[src/input.ts:149](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L149)
|
|
363
363
|
|
|
364
364
|
___
|
|
365
365
|
|
|
@@ -377,7 +377,7 @@ Input.active
|
|
|
377
377
|
|
|
378
378
|
#### Defined in
|
|
379
379
|
|
|
380
|
-
[src/elements/touchpad.ts:8](https://github.com/nsfm/dualsense-ts/blob/
|
|
380
|
+
[src/elements/touchpad.ts:8](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/elements/touchpad.ts#L8)
|
|
381
381
|
|
|
382
382
|
## Methods
|
|
383
383
|
|
|
@@ -398,7 +398,7 @@ And decide if this is the root Input.
|
|
|
398
398
|
|
|
399
399
|
#### Defined in
|
|
400
400
|
|
|
401
|
-
[src/input.ts:168](https://github.com/nsfm/dualsense-ts/blob/
|
|
401
|
+
[src/input.ts:168](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L168)
|
|
402
402
|
|
|
403
403
|
___
|
|
404
404
|
|
|
@@ -423,7 +423,7 @@ ___
|
|
|
423
423
|
|
|
424
424
|
#### Defined in
|
|
425
425
|
|
|
426
|
-
[src/input.ts:190](https://github.com/nsfm/dualsense-ts/blob/
|
|
426
|
+
[src/input.ts:190](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L190)
|
|
427
427
|
|
|
428
428
|
___
|
|
429
429
|
|
|
@@ -448,7 +448,7 @@ ___
|
|
|
448
448
|
|
|
449
449
|
#### Defined in
|
|
450
450
|
|
|
451
|
-
[src/input.ts:194](https://github.com/nsfm/dualsense-ts/blob/
|
|
451
|
+
[src/input.ts:194](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L194)
|
|
452
452
|
|
|
453
453
|
___
|
|
454
454
|
|
|
@@ -466,7 +466,7 @@ ___
|
|
|
466
466
|
|
|
467
467
|
#### Defined in
|
|
468
468
|
|
|
469
|
-
[src/input.ts:186](https://github.com/nsfm/dualsense-ts/blob/
|
|
469
|
+
[src/input.ts:186](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L186)
|
|
470
470
|
|
|
471
471
|
___
|
|
472
472
|
|
|
@@ -497,7 +497,7 @@ ___
|
|
|
497
497
|
|
|
498
498
|
#### Defined in
|
|
499
499
|
|
|
500
|
-
[src/input.ts:199](https://github.com/nsfm/dualsense-ts/blob/
|
|
500
|
+
[src/input.ts:199](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L199)
|
|
501
501
|
|
|
502
502
|
___
|
|
503
503
|
|
|
@@ -523,7 +523,7 @@ Update the input's state and trigger all necessary callbacks.
|
|
|
523
523
|
|
|
524
524
|
#### Defined in
|
|
525
525
|
|
|
526
|
-
[src/input.ts:215](https://github.com/nsfm/dualsense-ts/blob/
|
|
526
|
+
[src/input.ts:215](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L215)
|
|
527
527
|
|
|
528
528
|
___
|
|
529
529
|
|
|
@@ -541,7 +541,7 @@ ___
|
|
|
541
541
|
|
|
542
542
|
#### Defined in
|
|
543
543
|
|
|
544
|
-
[src/input.ts:139](https://github.com/nsfm/dualsense-ts/blob/
|
|
544
|
+
[src/input.ts:139](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L139)
|
|
545
545
|
|
|
546
546
|
___
|
|
547
547
|
|
|
@@ -559,7 +559,7 @@ ___
|
|
|
559
559
|
|
|
560
560
|
#### Defined in
|
|
561
561
|
|
|
562
|
-
[src/input.ts:131](https://github.com/nsfm/dualsense-ts/blob/
|
|
562
|
+
[src/input.ts:131](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L131)
|
|
563
563
|
|
|
564
564
|
___
|
|
565
565
|
|
|
@@ -583,7 +583,7 @@ ___
|
|
|
583
583
|
|
|
584
584
|
#### Defined in
|
|
585
585
|
|
|
586
|
-
[src/input.ts:143](https://github.com/nsfm/dualsense-ts/blob/
|
|
586
|
+
[src/input.ts:143](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L143)
|
|
587
587
|
|
|
588
588
|
___
|
|
589
589
|
|
|
@@ -637,7 +637,7 @@ ___
|
|
|
637
637
|
|
|
638
638
|
#### Defined in
|
|
639
639
|
|
|
640
|
-
[src/input.ts:44](https://github.com/nsfm/dualsense-ts/blob/
|
|
640
|
+
[src/input.ts:44](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L44)
|
|
641
641
|
|
|
642
642
|
___
|
|
643
643
|
|
|
@@ -786,7 +786,7 @@ Resolves on the next change to this input's state.
|
|
|
786
786
|
|
|
787
787
|
#### Defined in
|
|
788
788
|
|
|
789
|
-
[src/input.ts:78](https://github.com/nsfm/dualsense-ts/blob/
|
|
789
|
+
[src/input.ts:78](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L78)
|
|
790
790
|
|
|
791
791
|
___
|
|
792
792
|
|
|
@@ -840,7 +840,7 @@ ___
|
|
|
840
840
|
|
|
841
841
|
#### Defined in
|
|
842
842
|
|
|
843
|
-
[src/input.ts:37](https://github.com/nsfm/dualsense-ts/blob/
|
|
843
|
+
[src/input.ts:37](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L37)
|
|
844
844
|
|
|
845
845
|
___
|
|
846
846
|
|
|
@@ -995,7 +995,7 @@ Resolves on the next change to this input's state.
|
|
|
995
995
|
|
|
996
996
|
#### Defined in
|
|
997
997
|
|
|
998
|
-
[src/input.ts:91](https://github.com/nsfm/dualsense-ts/blob/
|
|
998
|
+
[src/input.ts:91](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L91)
|
|
999
999
|
|
|
1000
1000
|
___
|
|
1001
1001
|
|
|
@@ -1239,7 +1239,7 @@ Render a convenient debugging string.
|
|
|
1239
1239
|
|
|
1240
1240
|
#### Defined in
|
|
1241
1241
|
|
|
1242
|
-
[src/input.ts:102](https://github.com/nsfm/dualsense-ts/blob/
|
|
1242
|
+
[src/input.ts:102](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L102)
|
|
1243
1243
|
|
|
1244
1244
|
___
|
|
1245
1245
|
|
package/docs/Trigger.md
CHANGED
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
|
|
93
93
|
#### Defined in
|
|
94
94
|
|
|
95
|
-
[src/input.ts:106](https://github.com/nsfm/dualsense-ts/blob/
|
|
95
|
+
[src/input.ts:106](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L106)
|
|
96
96
|
|
|
97
97
|
## Properties
|
|
98
98
|
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
|
|
122
122
|
#### Defined in
|
|
123
123
|
|
|
124
|
-
[src/input.ts:128](https://github.com/nsfm/dualsense-ts/blob/
|
|
124
|
+
[src/input.ts:128](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L128)
|
|
125
125
|
|
|
126
126
|
___
|
|
127
127
|
|
|
@@ -135,7 +135,7 @@ ___
|
|
|
135
135
|
|
|
136
136
|
#### Defined in
|
|
137
137
|
|
|
138
|
-
[src/input.ts:162](https://github.com/nsfm/dualsense-ts/blob/
|
|
138
|
+
[src/input.ts:162](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L162)
|
|
139
139
|
|
|
140
140
|
___
|
|
141
141
|
|
|
@@ -149,7 +149,7 @@ ___
|
|
|
149
149
|
|
|
150
150
|
#### Defined in
|
|
151
151
|
|
|
152
|
-
[src/input.ts:157](https://github.com/nsfm/dualsense-ts/blob/
|
|
152
|
+
[src/input.ts:157](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L157)
|
|
153
153
|
|
|
154
154
|
___
|
|
155
155
|
|
|
@@ -163,7 +163,7 @@ ___
|
|
|
163
163
|
|
|
164
164
|
#### Defined in
|
|
165
165
|
|
|
166
|
-
[src/input.ts:154](https://github.com/nsfm/dualsense-ts/blob/
|
|
166
|
+
[src/input.ts:154](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L154)
|
|
167
167
|
|
|
168
168
|
___
|
|
169
169
|
|
|
@@ -177,7 +177,7 @@ ___
|
|
|
177
177
|
|
|
178
178
|
#### Defined in
|
|
179
179
|
|
|
180
|
-
[src/input.ts:160](https://github.com/nsfm/dualsense-ts/blob/
|
|
180
|
+
[src/input.ts:160](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L160)
|
|
181
181
|
|
|
182
182
|
___
|
|
183
183
|
|
|
@@ -187,7 +187,7 @@ ___
|
|
|
187
187
|
|
|
188
188
|
#### Defined in
|
|
189
189
|
|
|
190
|
-
[src/elements/trigger.ts:9](https://github.com/nsfm/dualsense-ts/blob/
|
|
190
|
+
[src/elements/trigger.ts:9](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/elements/trigger.ts#L9)
|
|
191
191
|
|
|
192
192
|
___
|
|
193
193
|
|
|
@@ -197,7 +197,7 @@ ___
|
|
|
197
197
|
|
|
198
198
|
#### Defined in
|
|
199
199
|
|
|
200
|
-
[src/elements/trigger.ts:27](https://github.com/nsfm/dualsense-ts/blob/
|
|
200
|
+
[src/elements/trigger.ts:27](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/elements/trigger.ts#L27)
|
|
201
201
|
|
|
202
202
|
___
|
|
203
203
|
|
|
@@ -211,7 +211,7 @@ ___
|
|
|
211
211
|
|
|
212
212
|
#### Defined in
|
|
213
213
|
|
|
214
|
-
[src/input.ts:58](https://github.com/nsfm/dualsense-ts/blob/
|
|
214
|
+
[src/input.ts:58](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L58)
|
|
215
215
|
|
|
216
216
|
___
|
|
217
217
|
|
|
@@ -225,7 +225,7 @@ ___
|
|
|
225
225
|
|
|
226
226
|
#### Defined in
|
|
227
227
|
|
|
228
|
-
[src/input.ts:61](https://github.com/nsfm/dualsense-ts/blob/
|
|
228
|
+
[src/input.ts:61](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L61)
|
|
229
229
|
|
|
230
230
|
___
|
|
231
231
|
|
|
@@ -239,7 +239,7 @@ ___
|
|
|
239
239
|
|
|
240
240
|
#### Defined in
|
|
241
241
|
|
|
242
|
-
[src/input.ts:64](https://github.com/nsfm/dualsense-ts/blob/
|
|
242
|
+
[src/input.ts:64](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L64)
|
|
243
243
|
|
|
244
244
|
___
|
|
245
245
|
|
|
@@ -253,7 +253,7 @@ ___
|
|
|
253
253
|
|
|
254
254
|
#### Defined in
|
|
255
255
|
|
|
256
|
-
[src/elements/trigger.ts:7](https://github.com/nsfm/dualsense-ts/blob/
|
|
256
|
+
[src/elements/trigger.ts:7](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/elements/trigger.ts#L7)
|
|
257
257
|
|
|
258
258
|
___
|
|
259
259
|
|
|
@@ -267,7 +267,7 @@ ___
|
|
|
267
267
|
|
|
268
268
|
#### Defined in
|
|
269
269
|
|
|
270
|
-
[src/input.ts:67](https://github.com/nsfm/dualsense-ts/blob/
|
|
270
|
+
[src/input.ts:67](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L67)
|
|
271
271
|
|
|
272
272
|
___
|
|
273
273
|
|
|
@@ -351,7 +351,7 @@ Input.\_\_@toStringTag@66
|
|
|
351
351
|
|
|
352
352
|
#### Defined in
|
|
353
353
|
|
|
354
|
-
[src/input.ts:149](https://github.com/nsfm/dualsense-ts/blob/
|
|
354
|
+
[src/input.ts:149](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L149)
|
|
355
355
|
|
|
356
356
|
___
|
|
357
357
|
|
|
@@ -369,7 +369,7 @@ Input.active
|
|
|
369
369
|
|
|
370
370
|
#### Defined in
|
|
371
371
|
|
|
372
|
-
[src/elements/trigger.ts:11](https://github.com/nsfm/dualsense-ts/blob/
|
|
372
|
+
[src/elements/trigger.ts:11](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/elements/trigger.ts#L11)
|
|
373
373
|
|
|
374
374
|
___
|
|
375
375
|
|
|
@@ -383,7 +383,7 @@ ___
|
|
|
383
383
|
|
|
384
384
|
#### Defined in
|
|
385
385
|
|
|
386
|
-
[src/elements/trigger.ts:19](https://github.com/nsfm/dualsense-ts/blob/
|
|
386
|
+
[src/elements/trigger.ts:19](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/elements/trigger.ts#L19)
|
|
387
387
|
|
|
388
388
|
___
|
|
389
389
|
|
|
@@ -397,7 +397,7 @@ ___
|
|
|
397
397
|
|
|
398
398
|
#### Defined in
|
|
399
399
|
|
|
400
|
-
[src/elements/trigger.ts:15](https://github.com/nsfm/dualsense-ts/blob/
|
|
400
|
+
[src/elements/trigger.ts:15](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/elements/trigger.ts#L15)
|
|
401
401
|
|
|
402
402
|
## Methods
|
|
403
403
|
|
|
@@ -418,7 +418,7 @@ And decide if this is the root Input.
|
|
|
418
418
|
|
|
419
419
|
#### Defined in
|
|
420
420
|
|
|
421
|
-
[src/input.ts:168](https://github.com/nsfm/dualsense-ts/blob/
|
|
421
|
+
[src/input.ts:168](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L168)
|
|
422
422
|
|
|
423
423
|
___
|
|
424
424
|
|
|
@@ -443,7 +443,7 @@ ___
|
|
|
443
443
|
|
|
444
444
|
#### Defined in
|
|
445
445
|
|
|
446
|
-
[src/input.ts:190](https://github.com/nsfm/dualsense-ts/blob/
|
|
446
|
+
[src/input.ts:190](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L190)
|
|
447
447
|
|
|
448
448
|
___
|
|
449
449
|
|
|
@@ -468,7 +468,7 @@ ___
|
|
|
468
468
|
|
|
469
469
|
#### Defined in
|
|
470
470
|
|
|
471
|
-
[src/input.ts:194](https://github.com/nsfm/dualsense-ts/blob/
|
|
471
|
+
[src/input.ts:194](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L194)
|
|
472
472
|
|
|
473
473
|
___
|
|
474
474
|
|
|
@@ -486,7 +486,7 @@ ___
|
|
|
486
486
|
|
|
487
487
|
#### Defined in
|
|
488
488
|
|
|
489
|
-
[src/input.ts:186](https://github.com/nsfm/dualsense-ts/blob/
|
|
489
|
+
[src/input.ts:186](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L186)
|
|
490
490
|
|
|
491
491
|
___
|
|
492
492
|
|
|
@@ -517,7 +517,7 @@ ___
|
|
|
517
517
|
|
|
518
518
|
#### Defined in
|
|
519
519
|
|
|
520
|
-
[src/input.ts:199](https://github.com/nsfm/dualsense-ts/blob/
|
|
520
|
+
[src/input.ts:199](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L199)
|
|
521
521
|
|
|
522
522
|
___
|
|
523
523
|
|
|
@@ -543,7 +543,7 @@ Update the input's state and trigger all necessary callbacks.
|
|
|
543
543
|
|
|
544
544
|
#### Defined in
|
|
545
545
|
|
|
546
|
-
[src/input.ts:215](https://github.com/nsfm/dualsense-ts/blob/
|
|
546
|
+
[src/input.ts:215](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L215)
|
|
547
547
|
|
|
548
548
|
___
|
|
549
549
|
|
|
@@ -561,7 +561,7 @@ ___
|
|
|
561
561
|
|
|
562
562
|
#### Defined in
|
|
563
563
|
|
|
564
|
-
[src/input.ts:139](https://github.com/nsfm/dualsense-ts/blob/
|
|
564
|
+
[src/input.ts:139](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L139)
|
|
565
565
|
|
|
566
566
|
___
|
|
567
567
|
|
|
@@ -579,7 +579,7 @@ ___
|
|
|
579
579
|
|
|
580
580
|
#### Defined in
|
|
581
581
|
|
|
582
|
-
[src/input.ts:131](https://github.com/nsfm/dualsense-ts/blob/
|
|
582
|
+
[src/input.ts:131](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L131)
|
|
583
583
|
|
|
584
584
|
___
|
|
585
585
|
|
|
@@ -603,7 +603,7 @@ ___
|
|
|
603
603
|
|
|
604
604
|
#### Defined in
|
|
605
605
|
|
|
606
|
-
[src/input.ts:143](https://github.com/nsfm/dualsense-ts/blob/
|
|
606
|
+
[src/input.ts:143](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L143)
|
|
607
607
|
|
|
608
608
|
___
|
|
609
609
|
|
|
@@ -652,7 +652,7 @@ ___
|
|
|
652
652
|
|
|
653
653
|
#### Defined in
|
|
654
654
|
|
|
655
|
-
[src/elements/trigger.ts:23](https://github.com/nsfm/dualsense-ts/blob/
|
|
655
|
+
[src/elements/trigger.ts:23](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/elements/trigger.ts#L23)
|
|
656
656
|
|
|
657
657
|
___
|
|
658
658
|
|
|
@@ -677,7 +677,7 @@ ___
|
|
|
677
677
|
|
|
678
678
|
#### Defined in
|
|
679
679
|
|
|
680
|
-
[src/input.ts:44](https://github.com/nsfm/dualsense-ts/blob/
|
|
680
|
+
[src/input.ts:44](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L44)
|
|
681
681
|
|
|
682
682
|
___
|
|
683
683
|
|
|
@@ -826,7 +826,7 @@ Resolves on the next change to this input's state.
|
|
|
826
826
|
|
|
827
827
|
#### Defined in
|
|
828
828
|
|
|
829
|
-
[src/input.ts:78](https://github.com/nsfm/dualsense-ts/blob/
|
|
829
|
+
[src/input.ts:78](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L78)
|
|
830
830
|
|
|
831
831
|
___
|
|
832
832
|
|
|
@@ -880,7 +880,7 @@ ___
|
|
|
880
880
|
|
|
881
881
|
#### Defined in
|
|
882
882
|
|
|
883
|
-
[src/input.ts:37](https://github.com/nsfm/dualsense-ts/blob/
|
|
883
|
+
[src/input.ts:37](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L37)
|
|
884
884
|
|
|
885
885
|
___
|
|
886
886
|
|
|
@@ -1035,7 +1035,7 @@ Resolves on the next change to this input's state.
|
|
|
1035
1035
|
|
|
1036
1036
|
#### Defined in
|
|
1037
1037
|
|
|
1038
|
-
[src/input.ts:91](https://github.com/nsfm/dualsense-ts/blob/
|
|
1038
|
+
[src/input.ts:91](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L91)
|
|
1039
1039
|
|
|
1040
1040
|
___
|
|
1041
1041
|
|
|
@@ -1279,7 +1279,7 @@ Render a convenient debugging string.
|
|
|
1279
1279
|
|
|
1280
1280
|
#### Defined in
|
|
1281
1281
|
|
|
1282
|
-
[src/input.ts:102](https://github.com/nsfm/dualsense-ts/blob/
|
|
1282
|
+
[src/input.ts:102](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/input.ts#L102)
|
|
1283
1283
|
|
|
1284
1284
|
___
|
|
1285
1285
|
|
package/docs/TriggerMode.md
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
#### Defined in
|
|
25
25
|
|
|
26
|
-
[src/hid/command.ts:32](https://github.com/nsfm/dualsense-ts/blob/
|
|
26
|
+
[src/hid/command.ts:32](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/hid/command.ts#L32)
|
|
27
27
|
|
|
28
28
|
___
|
|
29
29
|
|
|
@@ -33,7 +33,7 @@ ___
|
|
|
33
33
|
|
|
34
34
|
#### Defined in
|
|
35
35
|
|
|
36
|
-
[src/hid/command.ts:29](https://github.com/nsfm/dualsense-ts/blob/
|
|
36
|
+
[src/hid/command.ts:29](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/hid/command.ts#L29)
|
|
37
37
|
|
|
38
38
|
___
|
|
39
39
|
|
|
@@ -43,7 +43,7 @@ ___
|
|
|
43
43
|
|
|
44
44
|
#### Defined in
|
|
45
45
|
|
|
46
|
-
[src/hid/command.ts:31](https://github.com/nsfm/dualsense-ts/blob/
|
|
46
|
+
[src/hid/command.ts:31](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/hid/command.ts#L31)
|
|
47
47
|
|
|
48
48
|
___
|
|
49
49
|
|
|
@@ -53,7 +53,7 @@ ___
|
|
|
53
53
|
|
|
54
54
|
#### Defined in
|
|
55
55
|
|
|
56
|
-
[src/hid/command.ts:30](https://github.com/nsfm/dualsense-ts/blob/
|
|
56
|
+
[src/hid/command.ts:30](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/hid/command.ts#L30)
|
|
57
57
|
|
|
58
58
|
___
|
|
59
59
|
|
|
@@ -63,7 +63,7 @@ ___
|
|
|
63
63
|
|
|
64
64
|
#### Defined in
|
|
65
65
|
|
|
66
|
-
[src/hid/command.ts:37](https://github.com/nsfm/dualsense-ts/blob/
|
|
66
|
+
[src/hid/command.ts:37](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/hid/command.ts#L37)
|
|
67
67
|
|
|
68
68
|
___
|
|
69
69
|
|
|
@@ -73,7 +73,7 @@ ___
|
|
|
73
73
|
|
|
74
74
|
#### Defined in
|
|
75
75
|
|
|
76
|
-
[src/hid/command.ts:39](https://github.com/nsfm/dualsense-ts/blob/
|
|
76
|
+
[src/hid/command.ts:39](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/hid/command.ts#L39)
|
|
77
77
|
|
|
78
78
|
___
|
|
79
79
|
|
|
@@ -83,7 +83,7 @@ ___
|
|
|
83
83
|
|
|
84
84
|
#### Defined in
|
|
85
85
|
|
|
86
|
-
[src/hid/command.ts:38](https://github.com/nsfm/dualsense-ts/blob/
|
|
86
|
+
[src/hid/command.ts:38](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/hid/command.ts#L38)
|
|
87
87
|
|
|
88
88
|
___
|
|
89
89
|
|
|
@@ -93,7 +93,7 @@ ___
|
|
|
93
93
|
|
|
94
94
|
#### Defined in
|
|
95
95
|
|
|
96
|
-
[src/hid/command.ts:34](https://github.com/nsfm/dualsense-ts/blob/
|
|
96
|
+
[src/hid/command.ts:34](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/hid/command.ts#L34)
|
|
97
97
|
|
|
98
98
|
___
|
|
99
99
|
|
|
@@ -103,7 +103,7 @@ ___
|
|
|
103
103
|
|
|
104
104
|
#### Defined in
|
|
105
105
|
|
|
106
|
-
[src/hid/command.ts:36](https://github.com/nsfm/dualsense-ts/blob/
|
|
106
|
+
[src/hid/command.ts:36](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/hid/command.ts#L36)
|
|
107
107
|
|
|
108
108
|
___
|
|
109
109
|
|
|
@@ -113,4 +113,4 @@ ___
|
|
|
113
113
|
|
|
114
114
|
#### Defined in
|
|
115
115
|
|
|
116
|
-
[src/hid/command.ts:35](https://github.com/nsfm/dualsense-ts/blob/
|
|
116
|
+
[src/hid/command.ts:35](https://github.com/nsfm/dualsense-ts/blob/8aeab4d/src/hid/command.ts#L35)
|