Skip to content

Commit 91ec88b

Browse files
authored
Merge pull request #31 from TournamentStreamHelper:nintendo
Added Nintendo Switch 2 main controllers
2 parents db918c2 + dd00dc2 commit 91ec88b

File tree

10 files changed

+250
-3
lines changed

10 files changed

+250
-3
lines changed

pad/nintendo/joycon/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"digital_to_analog_conversion": null,
104104
"pc_xinput": false,
105105
"pc_steaminput": false,
106-
"native_consoles": ["nsw"],
106+
"native_consoles": ["nsw", "nsw2"],
107107
"macro": false,
108108
"turbo": false
109109
},
@@ -125,7 +125,7 @@
125125
"image": "right.png"
126126
},
127127
{
128-
"name": "Portable Mode",
128+
"name": "Handheld Mode",
129129
"image": "portable.png"
130130
},
131131
{

pad/nintendo/joycon2/config.json

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
{
2+
"name": "Nintendo Switch 2 Joy-Con 2",
3+
"functions": {
4+
"analog_sticks": [
5+
{
6+
"name": "Left Stick",
7+
"has_button": true
8+
},
9+
{
10+
"name": "Right Stick",
11+
"has_button": true
12+
}
13+
],
14+
"digital_sticks": null,
15+
"action_buttons": [
16+
{
17+
"name": "A",
18+
"analog": false
19+
},
20+
{
21+
"name": "B",
22+
"analog": false
23+
},
24+
{
25+
"name": "X",
26+
"analog": false
27+
},
28+
{
29+
"name": "Y",
30+
"analog": false
31+
},
32+
{
33+
"name": "L",
34+
"analog": false
35+
},
36+
{
37+
"name": "R",
38+
"analog": false
39+
},
40+
{
41+
"name": "ZL",
42+
"analog": false
43+
},
44+
{
45+
"name": "ZR",
46+
"analog": false
47+
},
48+
{
49+
"name": "SL-L",
50+
"analog": false
51+
},
52+
{
53+
"name": "SR-L",
54+
"analog": false
55+
},
56+
{
57+
"name": "SL-R",
58+
"analog": false
59+
},
60+
{
61+
"name": "SR-R",
62+
"analog": false
63+
},
64+
{
65+
"name": "GL",
66+
"analog": false
67+
},
68+
{
69+
"name": "GR",
70+
"analog": false
71+
}
72+
],
73+
"menu_buttons": [
74+
"-",
75+
"+"
76+
],
77+
"system_buttons": [
78+
"Capture",
79+
"Home",
80+
"C"
81+
],
82+
"other_buttons": [
83+
"Sync-L", "Sync-R"
84+
],
85+
"trackpads": null,
86+
"touch_screens": null,
87+
"directional_buttons": [
88+
{
89+
"set": [
90+
"Up",
91+
"Down",
92+
"Left",
93+
"Right"
94+
],
95+
"socd_prevention": {
96+
"hardware": false,
97+
"software": null
98+
}
99+
}
100+
],
101+
"gyroscope": true,
102+
"accelerometer": false,
103+
"ir_reciever": true,
104+
"extension_ports": 2,
105+
"headset_port": false,
106+
"speaker": false,
107+
"microphone": false,
108+
"cable": null,
109+
"bluetooth": true,
110+
"2_4ghz": false,
111+
"rumble": "enhanced",
112+
"digital_to_analog_conversion": null,
113+
"pc_xinput": false,
114+
"pc_steaminput": false,
115+
"native_consoles": ["nsw2"],
116+
"macro": false,
117+
"turbo": false
118+
},
119+
"variants": [
120+
{
121+
"name": "Joy-Con 2 Pair",
122+
"image": "image.png"
123+
},
124+
{
125+
"name": "Joy-Con 2 Grip",
126+
"image": "grip.png"
127+
},
128+
{
129+
"name": "Joy-Con 2 (L)",
130+
"image": "left.png"
131+
},
132+
{
133+
"name": "Joy-Con 2 (R)",
134+
"image": "right.png"
135+
},
136+
{
137+
"name": "Handheld Mode",
138+
"image": "portable.png"
139+
}
140+
]
141+
}

pad/nintendo/joycon2/grip.png

225 KB
Loading

pad/nintendo/joycon2/image.png

375 KB
Loading

pad/nintendo/joycon2/left.png

179 KB
Loading

pad/nintendo/joycon2/portable.png

93.1 KB
Loading

pad/nintendo/joycon2/right.png

201 KB
Loading

pad/nintendo/procon/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"digital_to_analog_conversion": null,
9191
"pc_xinput": false,
9292
"pc_steaminput": true,
93-
"native_consoles": ["nsw"],
93+
"native_consoles": ["nsw", "nsw2"],
9494
"macro": false,
9595
"turbo": false
9696
}

pad/nintendo/procon2/config.json

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"name": "Nintendo Switch 2 Pro Controller",
3+
"functions": {
4+
"analog_sticks": [
5+
{
6+
"name": "Left Stick",
7+
"has_button": true
8+
},
9+
{
10+
"name": "Right Stick",
11+
"has_button": true
12+
}
13+
],
14+
"digital_sticks": null,
15+
"action_buttons": [
16+
{
17+
"name": "A",
18+
"analog": false
19+
},
20+
{
21+
"name": "B",
22+
"analog": false
23+
},
24+
{
25+
"name": "X",
26+
"analog": false
27+
},
28+
{
29+
"name": "Y",
30+
"analog": false
31+
},
32+
{
33+
"name": "L",
34+
"analog": false
35+
},
36+
{
37+
"name": "R",
38+
"analog": false
39+
},
40+
{
41+
"name": "ZL",
42+
"analog": false
43+
},
44+
{
45+
"name": "ZR",
46+
"analog": false
47+
},
48+
{
49+
"name": "GL",
50+
"analog": false
51+
},
52+
{
53+
"name": "GR",
54+
"analog": false
55+
}
56+
],
57+
"menu_buttons": [
58+
"-",
59+
"+"
60+
],
61+
"system_buttons": [
62+
"Capture",
63+
"Home",
64+
"C"
65+
],
66+
"other_buttons": [
67+
"Sync"
68+
],
69+
"trackpads": null,
70+
"touch_screens": null,
71+
"directional_buttons": [
72+
{
73+
"set": [
74+
"Up",
75+
"Down",
76+
"Left",
77+
"Right"
78+
],
79+
"socd_prevention": {
80+
"hardware": true,
81+
"software": null
82+
}
83+
}
84+
],
85+
"gyroscope": true,
86+
"accelerometer": false,
87+
"ir_reciever": false,
88+
"extension_ports": 0,
89+
"headset_port": true,
90+
"speaker": false,
91+
"microphone": false,
92+
"cable": {
93+
"interface": "USB-C",
94+
"removable": true
95+
},
96+
"bluetooth": true,
97+
"2_4ghz": false,
98+
"rumble": "enhanced",
99+
"digital_to_analog_conversion": null,
100+
"pc_xinput": false,
101+
"pc_steaminput": true,
102+
"native_consoles": ["nsw2"],
103+
"macro": false,
104+
"turbo": false
105+
}
106+
}

pad/nintendo/procon2/image.png

290 KB
Loading

0 commit comments

Comments
 (0)