dualsense-ts 2.1.39 → 2.2.1
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/README.md +1 -1
- 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/dist/elements/unisense.js +1 -1
- package/dist/elements/unisense.js.map +1 -1
- package/dist/input.d.ts +27 -0
- package/dist/input.d.ts.map +1 -1
- package/dist/input.js +9 -3
- package/dist/input.js.map +1 -1
- package/docs/Analog.md +81 -90
- package/docs/AnalogParams.md +7 -7
- package/docs/Axis.md +72 -79
- package/docs/Brightness.md +8 -8
- package/docs/CommandScopeA.md +16 -16
- package/docs/CommandScopeB.md +14 -14
- package/docs/Dpad.md +74 -81
- package/docs/DpadParams.md +8 -8
- package/docs/DualSenseCommand.md +45 -45
- package/docs/Dualsense.md +83 -90
- package/docs/DualsenseHID.md +47 -42
- package/docs/DualsenseHIDState.md +41 -41
- package/docs/DualsenseParams.md +17 -17
- package/docs/Exports.md +18 -21
- package/docs/Haptic.md +1 -1
- package/docs/Home.md +29 -31
- package/docs/Indicator.md +2 -2
- package/docs/Input.md +70 -79
- package/docs/InputId.md +84 -84
- package/docs/InputParams.md +4 -4
- package/docs/LedOptions.md +10 -10
- package/docs/Momentary.md +70 -77
- package/docs/Motion.md +2 -2
- package/docs/Mute.md +71 -89
- package/docs/PlayerID.md +12 -12
- package/docs/PulseOptions.md +8 -8
- package/docs/Touchpad.md +120 -94
- package/docs/Trigger.md +75 -82
- package/docs/TriggerMode.md +22 -22
- package/docs/Unisense.md +74 -81
- package/docs/UnisenseParams.md +7 -7
- package/package.json +2 -2
- package/src/elements/analog.spec.ts +17 -0
- package/src/elements/analog.ts +56 -18
- package/src/elements/axis.spec.ts +31 -0
- package/src/elements/axis.ts +3 -3
- package/src/elements/unisense.ts +1 -1
- package/src/input.ts +27 -9
- package/docs/Increment.md +0 -1554
- package/docs/Touch.md +0 -1781
package/docs/InputId.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Table of contents
|
|
4
4
|
|
|
5
|
-
### Enumeration
|
|
5
|
+
### Enumeration members
|
|
6
6
|
|
|
7
7
|
- [AccelX](../wiki/InputId#accelx)
|
|
8
8
|
- [AccelY](../wiki/InputId#accely)
|
|
@@ -46,412 +46,412 @@
|
|
|
46
46
|
- [Triangle](../wiki/InputId#triangle)
|
|
47
47
|
- [Up](../wiki/InputId#up)
|
|
48
48
|
|
|
49
|
-
## Enumeration
|
|
49
|
+
## Enumeration members
|
|
50
50
|
|
|
51
51
|
### AccelX
|
|
52
52
|
|
|
53
|
-
• **AccelX**
|
|
53
|
+
• **AccelX** = `"AccelX"`
|
|
54
54
|
|
|
55
55
|
#### Defined in
|
|
56
56
|
|
|
57
|
-
[src/hid/ids.ts:52](https://github.com/nsfm/dualsense-ts/blob/
|
|
57
|
+
[src/hid/ids.ts:52](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L52)
|
|
58
58
|
|
|
59
59
|
___
|
|
60
60
|
|
|
61
61
|
### AccelY
|
|
62
62
|
|
|
63
|
-
• **AccelY**
|
|
63
|
+
• **AccelY** = `"AccelY"`
|
|
64
64
|
|
|
65
65
|
#### Defined in
|
|
66
66
|
|
|
67
|
-
[src/hid/ids.ts:53](https://github.com/nsfm/dualsense-ts/blob/
|
|
67
|
+
[src/hid/ids.ts:53](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L53)
|
|
68
68
|
|
|
69
69
|
___
|
|
70
70
|
|
|
71
71
|
### AccelZ
|
|
72
72
|
|
|
73
|
-
• **AccelZ**
|
|
73
|
+
• **AccelZ** = `"AccelZ"`
|
|
74
74
|
|
|
75
75
|
#### Defined in
|
|
76
76
|
|
|
77
|
-
[src/hid/ids.ts:54](https://github.com/nsfm/dualsense-ts/blob/
|
|
77
|
+
[src/hid/ids.ts:54](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L54)
|
|
78
78
|
|
|
79
79
|
___
|
|
80
80
|
|
|
81
81
|
### Circle
|
|
82
82
|
|
|
83
|
-
• **Circle**
|
|
83
|
+
• **Circle** = `"Circle"`
|
|
84
84
|
|
|
85
85
|
#### Defined in
|
|
86
86
|
|
|
87
|
-
[src/hid/ids.ts:10](https://github.com/nsfm/dualsense-ts/blob/
|
|
87
|
+
[src/hid/ids.ts:10](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L10)
|
|
88
88
|
|
|
89
89
|
___
|
|
90
90
|
|
|
91
91
|
### Create
|
|
92
92
|
|
|
93
|
-
• **Create**
|
|
93
|
+
• **Create** = `"Create"`
|
|
94
94
|
|
|
95
95
|
#### Defined in
|
|
96
96
|
|
|
97
|
-
[src/hid/ids.ts:4](https://github.com/nsfm/dualsense-ts/blob/
|
|
97
|
+
[src/hid/ids.ts:4](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L4)
|
|
98
98
|
|
|
99
99
|
___
|
|
100
100
|
|
|
101
101
|
### Cross
|
|
102
102
|
|
|
103
|
-
• **Cross**
|
|
103
|
+
• **Cross** = `"Cross"`
|
|
104
104
|
|
|
105
105
|
#### Defined in
|
|
106
106
|
|
|
107
|
-
[src/hid/ids.ts:11](https://github.com/nsfm/dualsense-ts/blob/
|
|
107
|
+
[src/hid/ids.ts:11](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L11)
|
|
108
108
|
|
|
109
109
|
___
|
|
110
110
|
|
|
111
111
|
### Down
|
|
112
112
|
|
|
113
|
-
• **Down**
|
|
113
|
+
• **Down** = `"Down"`
|
|
114
114
|
|
|
115
115
|
#### Defined in
|
|
116
116
|
|
|
117
|
-
[src/hid/ids.ts:16](https://github.com/nsfm/dualsense-ts/blob/
|
|
117
|
+
[src/hid/ids.ts:16](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L16)
|
|
118
118
|
|
|
119
119
|
___
|
|
120
120
|
|
|
121
121
|
### Dpad
|
|
122
122
|
|
|
123
|
-
• **Dpad**
|
|
123
|
+
• **Dpad** = `"Dpad"`
|
|
124
124
|
|
|
125
125
|
#### Defined in
|
|
126
126
|
|
|
127
|
-
[src/hid/ids.ts:14](https://github.com/nsfm/dualsense-ts/blob/
|
|
127
|
+
[src/hid/ids.ts:14](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L14)
|
|
128
128
|
|
|
129
129
|
___
|
|
130
130
|
|
|
131
131
|
### GyroX
|
|
132
132
|
|
|
133
|
-
• **GyroX**
|
|
133
|
+
• **GyroX** = `"GyroX"`
|
|
134
134
|
|
|
135
135
|
#### Defined in
|
|
136
136
|
|
|
137
|
-
[src/hid/ids.ts:48](https://github.com/nsfm/dualsense-ts/blob/
|
|
137
|
+
[src/hid/ids.ts:48](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L48)
|
|
138
138
|
|
|
139
139
|
___
|
|
140
140
|
|
|
141
141
|
### GyroY
|
|
142
142
|
|
|
143
|
-
• **GyroY**
|
|
143
|
+
• **GyroY** = `"GyroY"`
|
|
144
144
|
|
|
145
145
|
#### Defined in
|
|
146
146
|
|
|
147
|
-
[src/hid/ids.ts:49](https://github.com/nsfm/dualsense-ts/blob/
|
|
147
|
+
[src/hid/ids.ts:49](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L49)
|
|
148
148
|
|
|
149
149
|
___
|
|
150
150
|
|
|
151
151
|
### GyroZ
|
|
152
152
|
|
|
153
|
-
• **GyroZ**
|
|
153
|
+
• **GyroZ** = `"GyroZ"`
|
|
154
154
|
|
|
155
155
|
#### Defined in
|
|
156
156
|
|
|
157
|
-
[src/hid/ids.ts:50](https://github.com/nsfm/dualsense-ts/blob/
|
|
157
|
+
[src/hid/ids.ts:50](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L50)
|
|
158
158
|
|
|
159
159
|
___
|
|
160
160
|
|
|
161
161
|
### Left
|
|
162
162
|
|
|
163
|
-
• **Left**
|
|
163
|
+
• **Left** = `"Left"`
|
|
164
164
|
|
|
165
165
|
#### Defined in
|
|
166
166
|
|
|
167
|
-
[src/hid/ids.ts:17](https://github.com/nsfm/dualsense-ts/blob/
|
|
167
|
+
[src/hid/ids.ts:17](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L17)
|
|
168
168
|
|
|
169
169
|
___
|
|
170
170
|
|
|
171
171
|
### LeftAnalogButton
|
|
172
172
|
|
|
173
|
-
• **LeftAnalogButton**
|
|
173
|
+
• **LeftAnalogButton** = `"L3"`
|
|
174
174
|
|
|
175
175
|
#### Defined in
|
|
176
176
|
|
|
177
|
-
[src/hid/ids.ts:32](https://github.com/nsfm/dualsense-ts/blob/
|
|
177
|
+
[src/hid/ids.ts:32](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L32)
|
|
178
178
|
|
|
179
179
|
___
|
|
180
180
|
|
|
181
181
|
### LeftAnalogX
|
|
182
182
|
|
|
183
|
-
• **LeftAnalogX**
|
|
183
|
+
• **LeftAnalogX** = `"LX"`
|
|
184
184
|
|
|
185
185
|
#### Defined in
|
|
186
186
|
|
|
187
|
-
[src/hid/ids.ts:43](https://github.com/nsfm/dualsense-ts/blob/
|
|
187
|
+
[src/hid/ids.ts:43](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L43)
|
|
188
188
|
|
|
189
189
|
___
|
|
190
190
|
|
|
191
191
|
### LeftAnalogY
|
|
192
192
|
|
|
193
|
-
• **LeftAnalogY**
|
|
193
|
+
• **LeftAnalogY** = `"LY"`
|
|
194
194
|
|
|
195
195
|
#### Defined in
|
|
196
196
|
|
|
197
|
-
[src/hid/ids.ts:44](https://github.com/nsfm/dualsense-ts/blob/
|
|
197
|
+
[src/hid/ids.ts:44](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L44)
|
|
198
198
|
|
|
199
199
|
___
|
|
200
200
|
|
|
201
201
|
### LeftBumper
|
|
202
202
|
|
|
203
|
-
• **LeftBumper**
|
|
203
|
+
• **LeftBumper** = `"L1"`
|
|
204
204
|
|
|
205
205
|
#### Defined in
|
|
206
206
|
|
|
207
|
-
[src/hid/ids.ts:40](https://github.com/nsfm/dualsense-ts/blob/
|
|
207
|
+
[src/hid/ids.ts:40](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L40)
|
|
208
208
|
|
|
209
209
|
___
|
|
210
210
|
|
|
211
211
|
### LeftTrigger
|
|
212
212
|
|
|
213
|
-
• **LeftTrigger**
|
|
213
|
+
• **LeftTrigger** = `"L2"`
|
|
214
214
|
|
|
215
215
|
#### Defined in
|
|
216
216
|
|
|
217
|
-
[src/hid/ids.ts:35](https://github.com/nsfm/dualsense-ts/blob/
|
|
217
|
+
[src/hid/ids.ts:35](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L35)
|
|
218
218
|
|
|
219
219
|
___
|
|
220
220
|
|
|
221
221
|
### LeftTriggerButton
|
|
222
222
|
|
|
223
|
-
• **LeftTriggerButton**
|
|
223
|
+
• **LeftTriggerButton** = `"L2Button"`
|
|
224
224
|
|
|
225
225
|
#### Defined in
|
|
226
226
|
|
|
227
|
-
[src/hid/ids.ts:37](https://github.com/nsfm/dualsense-ts/blob/
|
|
227
|
+
[src/hid/ids.ts:37](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L37)
|
|
228
228
|
|
|
229
229
|
___
|
|
230
230
|
|
|
231
231
|
### Mute
|
|
232
232
|
|
|
233
|
-
• **Mute**
|
|
233
|
+
• **Mute** = `"Mute"`
|
|
234
234
|
|
|
235
235
|
#### Defined in
|
|
236
236
|
|
|
237
|
-
[src/hid/ids.ts:6](https://github.com/nsfm/dualsense-ts/blob/
|
|
237
|
+
[src/hid/ids.ts:6](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L6)
|
|
238
238
|
|
|
239
239
|
___
|
|
240
240
|
|
|
241
241
|
### Options
|
|
242
242
|
|
|
243
|
-
• **Options**
|
|
243
|
+
• **Options** = `"Options"`
|
|
244
244
|
|
|
245
245
|
#### Defined in
|
|
246
246
|
|
|
247
|
-
[src/hid/ids.ts:3](https://github.com/nsfm/dualsense-ts/blob/
|
|
247
|
+
[src/hid/ids.ts:3](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L3)
|
|
248
248
|
|
|
249
249
|
___
|
|
250
250
|
|
|
251
251
|
### Playstation
|
|
252
252
|
|
|
253
|
-
• **Playstation**
|
|
253
|
+
• **Playstation** = `"Playstation"`
|
|
254
254
|
|
|
255
255
|
#### Defined in
|
|
256
256
|
|
|
257
|
-
[src/hid/ids.ts:5](https://github.com/nsfm/dualsense-ts/blob/
|
|
257
|
+
[src/hid/ids.ts:5](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L5)
|
|
258
258
|
|
|
259
259
|
___
|
|
260
260
|
|
|
261
261
|
### Right
|
|
262
262
|
|
|
263
|
-
• **Right**
|
|
263
|
+
• **Right** = `"Right"`
|
|
264
264
|
|
|
265
265
|
#### Defined in
|
|
266
266
|
|
|
267
|
-
[src/hid/ids.ts:18](https://github.com/nsfm/dualsense-ts/blob/
|
|
267
|
+
[src/hid/ids.ts:18](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L18)
|
|
268
268
|
|
|
269
269
|
___
|
|
270
270
|
|
|
271
271
|
### RightAnalogButton
|
|
272
272
|
|
|
273
|
-
• **RightAnalogButton**
|
|
273
|
+
• **RightAnalogButton** = `"R3"`
|
|
274
274
|
|
|
275
275
|
#### Defined in
|
|
276
276
|
|
|
277
|
-
[src/hid/ids.ts:33](https://github.com/nsfm/dualsense-ts/blob/
|
|
277
|
+
[src/hid/ids.ts:33](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L33)
|
|
278
278
|
|
|
279
279
|
___
|
|
280
280
|
|
|
281
281
|
### RightAnalogX
|
|
282
282
|
|
|
283
|
-
• **RightAnalogX**
|
|
283
|
+
• **RightAnalogX** = `"RX"`
|
|
284
284
|
|
|
285
285
|
#### Defined in
|
|
286
286
|
|
|
287
|
-
[src/hid/ids.ts:45](https://github.com/nsfm/dualsense-ts/blob/
|
|
287
|
+
[src/hid/ids.ts:45](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L45)
|
|
288
288
|
|
|
289
289
|
___
|
|
290
290
|
|
|
291
291
|
### RightAnalogY
|
|
292
292
|
|
|
293
|
-
• **RightAnalogY**
|
|
293
|
+
• **RightAnalogY** = `"RY"`
|
|
294
294
|
|
|
295
295
|
#### Defined in
|
|
296
296
|
|
|
297
|
-
[src/hid/ids.ts:46](https://github.com/nsfm/dualsense-ts/blob/
|
|
297
|
+
[src/hid/ids.ts:46](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L46)
|
|
298
298
|
|
|
299
299
|
___
|
|
300
300
|
|
|
301
301
|
### RightBumper
|
|
302
302
|
|
|
303
|
-
• **RightBumper**
|
|
303
|
+
• **RightBumper** = `"R1"`
|
|
304
304
|
|
|
305
305
|
#### Defined in
|
|
306
306
|
|
|
307
|
-
[src/hid/ids.ts:41](https://github.com/nsfm/dualsense-ts/blob/
|
|
307
|
+
[src/hid/ids.ts:41](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L41)
|
|
308
308
|
|
|
309
309
|
___
|
|
310
310
|
|
|
311
311
|
### RightTrigger
|
|
312
312
|
|
|
313
|
-
• **RightTrigger**
|
|
313
|
+
• **RightTrigger** = `"R2"`
|
|
314
314
|
|
|
315
315
|
#### Defined in
|
|
316
316
|
|
|
317
|
-
[src/hid/ids.ts:36](https://github.com/nsfm/dualsense-ts/blob/
|
|
317
|
+
[src/hid/ids.ts:36](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L36)
|
|
318
318
|
|
|
319
319
|
___
|
|
320
320
|
|
|
321
321
|
### RightTriggerButton
|
|
322
322
|
|
|
323
|
-
• **RightTriggerButton**
|
|
323
|
+
• **RightTriggerButton** = `"R2Button"`
|
|
324
324
|
|
|
325
325
|
#### Defined in
|
|
326
326
|
|
|
327
|
-
[src/hid/ids.ts:38](https://github.com/nsfm/dualsense-ts/blob/
|
|
327
|
+
[src/hid/ids.ts:38](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L38)
|
|
328
328
|
|
|
329
329
|
___
|
|
330
330
|
|
|
331
331
|
### Square
|
|
332
332
|
|
|
333
|
-
• **Square**
|
|
333
|
+
• **Square** = `"Square"`
|
|
334
334
|
|
|
335
335
|
#### Defined in
|
|
336
336
|
|
|
337
|
-
[src/hid/ids.ts:12](https://github.com/nsfm/dualsense-ts/blob/
|
|
337
|
+
[src/hid/ids.ts:12](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L12)
|
|
338
338
|
|
|
339
339
|
___
|
|
340
340
|
|
|
341
341
|
### Status
|
|
342
342
|
|
|
343
|
-
• **Status**
|
|
343
|
+
• **Status** = `"Status"`
|
|
344
344
|
|
|
345
345
|
#### Defined in
|
|
346
346
|
|
|
347
|
-
[src/hid/ids.ts:7](https://github.com/nsfm/dualsense-ts/blob/
|
|
347
|
+
[src/hid/ids.ts:7](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L7)
|
|
348
348
|
|
|
349
349
|
___
|
|
350
350
|
|
|
351
351
|
### TouchButton
|
|
352
352
|
|
|
353
|
-
• **TouchButton**
|
|
353
|
+
• **TouchButton** = `"TouchButton"`
|
|
354
354
|
|
|
355
355
|
#### Defined in
|
|
356
356
|
|
|
357
|
-
[src/hid/ids.ts:20](https://github.com/nsfm/dualsense-ts/blob/
|
|
357
|
+
[src/hid/ids.ts:20](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L20)
|
|
358
358
|
|
|
359
359
|
___
|
|
360
360
|
|
|
361
361
|
### TouchContact0
|
|
362
362
|
|
|
363
|
-
• **TouchContact0**
|
|
363
|
+
• **TouchContact0** = `"TouchContact0"`
|
|
364
364
|
|
|
365
365
|
#### Defined in
|
|
366
366
|
|
|
367
|
-
[src/hid/ids.ts:24](https://github.com/nsfm/dualsense-ts/blob/
|
|
367
|
+
[src/hid/ids.ts:24](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L24)
|
|
368
368
|
|
|
369
369
|
___
|
|
370
370
|
|
|
371
371
|
### TouchContact1
|
|
372
372
|
|
|
373
|
-
• **TouchContact1**
|
|
373
|
+
• **TouchContact1** = `"TouchContact1"`
|
|
374
374
|
|
|
375
375
|
#### Defined in
|
|
376
376
|
|
|
377
|
-
[src/hid/ids.ts:29](https://github.com/nsfm/dualsense-ts/blob/
|
|
377
|
+
[src/hid/ids.ts:29](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L29)
|
|
378
378
|
|
|
379
379
|
___
|
|
380
380
|
|
|
381
381
|
### TouchId0
|
|
382
382
|
|
|
383
|
-
• **TouchId0**
|
|
383
|
+
• **TouchId0** = `"TouchId0"`
|
|
384
384
|
|
|
385
385
|
#### Defined in
|
|
386
386
|
|
|
387
|
-
[src/hid/ids.ts:25](https://github.com/nsfm/dualsense-ts/blob/
|
|
387
|
+
[src/hid/ids.ts:25](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L25)
|
|
388
388
|
|
|
389
389
|
___
|
|
390
390
|
|
|
391
391
|
### TouchId1
|
|
392
392
|
|
|
393
|
-
• **TouchId1**
|
|
393
|
+
• **TouchId1** = `"TouchId1"`
|
|
394
394
|
|
|
395
395
|
#### Defined in
|
|
396
396
|
|
|
397
|
-
[src/hid/ids.ts:30](https://github.com/nsfm/dualsense-ts/blob/
|
|
397
|
+
[src/hid/ids.ts:30](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L30)
|
|
398
398
|
|
|
399
399
|
___
|
|
400
400
|
|
|
401
401
|
### TouchX0
|
|
402
402
|
|
|
403
|
-
• **TouchX0**
|
|
403
|
+
• **TouchX0** = `"TouchX0"`
|
|
404
404
|
|
|
405
405
|
#### Defined in
|
|
406
406
|
|
|
407
|
-
[src/hid/ids.ts:22](https://github.com/nsfm/dualsense-ts/blob/
|
|
407
|
+
[src/hid/ids.ts:22](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L22)
|
|
408
408
|
|
|
409
409
|
___
|
|
410
410
|
|
|
411
411
|
### TouchX1
|
|
412
412
|
|
|
413
|
-
• **TouchX1**
|
|
413
|
+
• **TouchX1** = `"TouchX1"`
|
|
414
414
|
|
|
415
415
|
#### Defined in
|
|
416
416
|
|
|
417
|
-
[src/hid/ids.ts:27](https://github.com/nsfm/dualsense-ts/blob/
|
|
417
|
+
[src/hid/ids.ts:27](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L27)
|
|
418
418
|
|
|
419
419
|
___
|
|
420
420
|
|
|
421
421
|
### TouchY0
|
|
422
422
|
|
|
423
|
-
• **TouchY0**
|
|
423
|
+
• **TouchY0** = `"TouchY0"`
|
|
424
424
|
|
|
425
425
|
#### Defined in
|
|
426
426
|
|
|
427
|
-
[src/hid/ids.ts:23](https://github.com/nsfm/dualsense-ts/blob/
|
|
427
|
+
[src/hid/ids.ts:23](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L23)
|
|
428
428
|
|
|
429
429
|
___
|
|
430
430
|
|
|
431
431
|
### TouchY1
|
|
432
432
|
|
|
433
|
-
• **TouchY1**
|
|
433
|
+
• **TouchY1** = `"TouchY1"`
|
|
434
434
|
|
|
435
435
|
#### Defined in
|
|
436
436
|
|
|
437
|
-
[src/hid/ids.ts:28](https://github.com/nsfm/dualsense-ts/blob/
|
|
437
|
+
[src/hid/ids.ts:28](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L28)
|
|
438
438
|
|
|
439
439
|
___
|
|
440
440
|
|
|
441
441
|
### Triangle
|
|
442
442
|
|
|
443
|
-
• **Triangle**
|
|
443
|
+
• **Triangle** = `"Triangle"`
|
|
444
444
|
|
|
445
445
|
#### Defined in
|
|
446
446
|
|
|
447
|
-
[src/hid/ids.ts:9](https://github.com/nsfm/dualsense-ts/blob/
|
|
447
|
+
[src/hid/ids.ts:9](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L9)
|
|
448
448
|
|
|
449
449
|
___
|
|
450
450
|
|
|
451
451
|
### Up
|
|
452
452
|
|
|
453
|
-
• **Up**
|
|
453
|
+
• **Up** = `"Up"`
|
|
454
454
|
|
|
455
455
|
#### Defined in
|
|
456
456
|
|
|
457
|
-
[src/hid/ids.ts:15](https://github.com/nsfm/dualsense-ts/blob/
|
|
457
|
+
[src/hid/ids.ts:15](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/ids.ts#L15)
|
package/docs/InputParams.md
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
#### Defined in
|
|
31
31
|
|
|
32
|
-
[src/input.ts:6](https://github.com/nsfm/dualsense-ts/blob/
|
|
32
|
+
[src/input.ts:6](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/input.ts#L6)
|
|
33
33
|
|
|
34
34
|
___
|
|
35
35
|
|
|
@@ -39,7 +39,7 @@ ___
|
|
|
39
39
|
|
|
40
40
|
#### Defined in
|
|
41
41
|
|
|
42
|
-
[src/input.ts:5](https://github.com/nsfm/dualsense-ts/blob/
|
|
42
|
+
[src/input.ts:5](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/input.ts#L5)
|
|
43
43
|
|
|
44
44
|
___
|
|
45
45
|
|
|
@@ -49,7 +49,7 @@ ___
|
|
|
49
49
|
|
|
50
50
|
#### Defined in
|
|
51
51
|
|
|
52
|
-
[src/input.ts:8](https://github.com/nsfm/dualsense-ts/blob/
|
|
52
|
+
[src/input.ts:8](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/input.ts#L8)
|
|
53
53
|
|
|
54
54
|
___
|
|
55
55
|
|
|
@@ -59,4 +59,4 @@ ___
|
|
|
59
59
|
|
|
60
60
|
#### Defined in
|
|
61
61
|
|
|
62
|
-
[src/input.ts:7](https://github.com/nsfm/dualsense-ts/blob/
|
|
62
|
+
[src/input.ts:7](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/input.ts#L7)
|
package/docs/LedOptions.md
CHANGED
|
@@ -2,49 +2,49 @@
|
|
|
2
2
|
|
|
3
3
|
## Table of contents
|
|
4
4
|
|
|
5
|
-
### Enumeration
|
|
5
|
+
### Enumeration members
|
|
6
6
|
|
|
7
7
|
- [Both](../wiki/LedOptions#both)
|
|
8
8
|
- [Off](../wiki/LedOptions#off)
|
|
9
9
|
- [PlayerLedBrightness](../wiki/LedOptions#playerledbrightness)
|
|
10
10
|
- [Uninterruptible](../wiki/LedOptions#uninterruptible)
|
|
11
11
|
|
|
12
|
-
## Enumeration
|
|
12
|
+
## Enumeration members
|
|
13
13
|
|
|
14
14
|
### Both
|
|
15
15
|
|
|
16
|
-
• **Both**
|
|
16
|
+
• **Both** = `3`
|
|
17
17
|
|
|
18
18
|
#### Defined in
|
|
19
19
|
|
|
20
|
-
[src/hid/command.ts:5](https://github.com/nsfm/dualsense-ts/blob/
|
|
20
|
+
[src/hid/command.ts:5](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/command.ts#L5)
|
|
21
21
|
|
|
22
22
|
___
|
|
23
23
|
|
|
24
24
|
### Off
|
|
25
25
|
|
|
26
|
-
• **Off**
|
|
26
|
+
• **Off** = `0`
|
|
27
27
|
|
|
28
28
|
#### Defined in
|
|
29
29
|
|
|
30
|
-
[src/hid/command.ts:2](https://github.com/nsfm/dualsense-ts/blob/
|
|
30
|
+
[src/hid/command.ts:2](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/command.ts#L2)
|
|
31
31
|
|
|
32
32
|
___
|
|
33
33
|
|
|
34
34
|
### PlayerLedBrightness
|
|
35
35
|
|
|
36
|
-
• **PlayerLedBrightness**
|
|
36
|
+
• **PlayerLedBrightness** = `1`
|
|
37
37
|
|
|
38
38
|
#### Defined in
|
|
39
39
|
|
|
40
|
-
[src/hid/command.ts:3](https://github.com/nsfm/dualsense-ts/blob/
|
|
40
|
+
[src/hid/command.ts:3](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/command.ts#L3)
|
|
41
41
|
|
|
42
42
|
___
|
|
43
43
|
|
|
44
44
|
### Uninterruptible
|
|
45
45
|
|
|
46
|
-
• **Uninterruptible**
|
|
46
|
+
• **Uninterruptible** = `2`
|
|
47
47
|
|
|
48
48
|
#### Defined in
|
|
49
49
|
|
|
50
|
-
[src/hid/command.ts:4](https://github.com/nsfm/dualsense-ts/blob/
|
|
50
|
+
[src/hid/command.ts:4](https://github.com/nsfm/dualsense-ts/blob/ab67fa7/src/hid/command.ts#L4)
|