UNPKG
ns-joycon
Version:
latest (0.2.5)
0.2.5
0.2.4
0.2.3
0.1.3
0.1.2
0.1.1
0.1.0
Extract data from connected Jon-Con of Nintendo Switch.
github.com/wazho/ns-joycon
wazho/ns-joycon
ns-joycon
/
src
/
models
/
subcommand.ts
12 lines
(10 loc)
•
253 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
interface
IDeviceInfo
{
firmwareVersion
: {
major
:
number
;
minor
:
number
; };
type
:
string
;
macAddress
:
string
;
spiColorInUsed
:
boolean
; }
export
type
InputReportMode
=
'standard-full-mode'
|
'simple-hid-mode'
;