Skip to content

Commit d76a339

Browse files
committed
add SDL/0/Nintendo Switch Joy-Con (L/R)
1 parent 9321fd1 commit d76a339

16 files changed

Lines changed: 586 additions & 141 deletions

#Assets/UniversalDIT_Defaultstyle.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,16 @@
321321
"Square": "../#DefaultDevices/Switch_Joy-Con/Defaultstyle/Button Y.png",
322322
"Triangle": "../#DefaultDevices/Switch_Joy-Con/Defaultstyle/Button X.png"
323323
},
324+
"SDL/0/Nintendo Switch Joy-Con (L/R)": {
325+
"SDL/0/Nintendo Switch Joy-Con (L/R)": "../#DefaultDevices/Switch_Joy-Con/Device/Icon.png",
326+
"`Button 0`": "../#DefaultDevices/Switch_Joy-Con/Defaultstyle/Button A.png",
327+
"`Button 1`": "../#DefaultDevices/Switch_Joy-Con/Defaultstyle/Button B.png",
328+
"`Button 9`": "../#DefaultDevices/Switch_Joy-Con/Defaultstyle/L.png",
329+
"`Full Axis 4+`": "../#DefaultDevices/Switch_Joy-Con/Defaultstyle/ZL.png",
330+
"`Button 7`": "../#DefaultDevices/Switch_Joy-Con/Defaultstyle/Thumb L.png",
331+
"`Axis 0-`": "../#DefaultDevices/Switch_Joy-Con/Defaultstyle/Left X-.png",
332+
"`Axis 0+`": "../#DefaultDevices/Switch_Joy-Con/Defaultstyle/Left X+.png",
333+
"`Axis 1+`": "../#DefaultDevices/Switch_Joy-Con/Defaultstyle/Left Y-.png",
324334
"`Axis 1-`": "../#DefaultDevices/Switch_Joy-Con/Defaultstyle/Left Y+.png",
325335
"`Button 6`": "../#DefaultDevices/Switch_Joy-Con/Defaultstyle/Button +.png",
326336
"`Button 14`": "../#DefaultDevices/Switch_Joy-Con/Defaultstyle/Pad E.png",

#Assets/UniversalDIT_Defaultstyle_Mirror.json

Lines changed: 87 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,35 @@
316316
"Square": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Button Y.png",
317317
"Triangle": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Button X.png"
318318
},
319+
"SDL/0/Nintendo Switch Joy-Con (L/R)": {
320+
"SDL/0/Nintendo Switch Joy-Con (L/R)": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Device/Icon.png",
321+
"`Button 0`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Button A.png",
322+
"`Button 1`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Button B.png",
323+
"`Button 9`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/L.png",
324+
"`Full Axis 4+`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/ZL.png",
325+
"`Button 7`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Thumb L.png",
326+
"`Axis 0-`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Left X-.png",
327+
"`Axis 0+`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Left X+.png",
328+
"`Axis 1+`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Left Y-.png",
329+
"`Axis 1-`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Left Y+.png",
330+
"`Button 6`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Button +.png",
331+
"`Button 14`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Pad E.png",
332+
"`Button 11`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Pad N.png",
333+
"`Button 12`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Pad S.png",
334+
"`Button 13`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Pad W.png",
335+
"`Button 5`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Home.png",
336+
"`Button 10`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/R.png",
337+
"`Full Axis 5+`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/ZR.png",
338+
"`Button 8`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Thumb R.png",
339+
"`Axis 2-`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Right X-.png",
340+
"`Axis 2+`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Right X+.png",
341+
"`Axis 3-`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Right Y-.png",
342+
"`Axis 3-`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Right Y+.png",
343+
"`Button 4`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Button -.png",
344+
"`Button 15`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Share.png",
345+
"`Button 3`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Button Y.png",
346+
"`Button 2`": "../#DefaultDevices/_Mirror/Switch_Joy-Con/Defaultstyle/Button X.png",
347+
},
319348
"DInput/0/Wireless Gamepad": {
320349
"`Button 0`": "..\\#DefaultDevices\\_Mirror\\Switch_Pro Controller\\Defaultstyle\\Button B.png",
321350
"`Button 1`": "..\\#DefaultDevices\\_Mirror\\Switch_Pro Controller\\Defaultstyle\\Button A.png",
@@ -1012,37 +1041,37 @@
10121041
"THUMBL": "../#DefaultDevices/XBOX ONE/Defaultstyle/Thumb L.png"
10131042
},
10141043
"evdev/0/8BitDo Pro 2": {
1015-
"evdev/0/8BitDo Pro 2": "../#DefaultDevices/Switch_Pro Controller/Device/Icon.png",
1016-
"C": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Button Y.png",
1017-
"EAST": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Button A.png",
1018-
"SOUTH": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Button B.png",
1019-
"NORTH": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Button X.png",
1020-
"WEST": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/L.png",
1021-
"Z": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/R.png",
1022-
"TR": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Button +.png",
1023-
"TL": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Button -.png",
1024-
"TL2": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Thumb L.png",
1025-
"TR2": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Thumb R.png",
1026-
"`Axis 2+`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/ZL.png",
1027-
"`Axis 5+`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/ZR.png",
1028-
"`Full Axis 2+`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/ZL.png",
1029-
"`Full Axis 5+`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/ZR.png",
1030-
"SELECT": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Thumb L.png",
1031-
"START": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Thumb R.png",
1032-
"MODE": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Home.png",
1033-
"THUMBL": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Share.png",
1034-
"`Axis 7-`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Pad N.png",
1035-
"`Axis 7+`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Pad S.png",
1036-
"`Axis 6-`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Pad W.png",
1037-
"`Axis 6+`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Pad E.png",
1038-
"`Axis 1+`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Left Y+.png",
1039-
"`Axis 1-`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Left Y-.png",
1040-
"`Axis 0+`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Left X+.png",
1041-
"`Axis 0-`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Left X-.png",
1042-
"`Axis 4+`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Right Y+.png",
1043-
"`Axis 4-`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Right Y-.png",
1044-
"`Axis 3+`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Right X+.png",
1045-
"`Axis 3-`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Right X-.png"
1044+
"evdev/0/8BitDo Pro 2": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Device/Icon.png",
1045+
"C": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Button Y.png",
1046+
"EAST": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Button A.png",
1047+
"SOUTH": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Button B.png",
1048+
"NORTH": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Button X.png",
1049+
"WEST": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/L.png",
1050+
"Z": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/R.png",
1051+
"TR": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Button +.png",
1052+
"TL": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Button -.png",
1053+
"TL2": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Thumb L.png",
1054+
"TR2": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Thumb R.png",
1055+
"`Axis 2+`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/ZL.png",
1056+
"`Axis 5+`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/ZR.png",
1057+
"`Full Axis 2+`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/ZL.png",
1058+
"`Full Axis 5+`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/ZR.png",
1059+
"SELECT": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Thumb L.png",
1060+
"START": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Thumb R.png",
1061+
"MODE": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Home.png",
1062+
"THUMBL": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Share.png",
1063+
"`Axis 7-`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Pad N.png",
1064+
"`Axis 7+`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Pad S.png",
1065+
"`Axis 6-`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Pad W.png",
1066+
"`Axis 6+`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Pad E.png",
1067+
"`Axis 1+`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Left Y+.png",
1068+
"`Axis 1-`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Left Y-.png",
1069+
"`Axis 0+`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Left X+.png",
1070+
"`Axis 0-`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Left X-.png",
1071+
"`Axis 4+`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Right Y+.png",
1072+
"`Axis 4-`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Right Y-.png",
1073+
"`Axis 3+`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Right X+.png",
1074+
"`Axis 3-`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Right X-.png"
10461075
},
10471076
"SDL/0/Logitech Gamepad F710": {
10481077
"SDL/0/Logitech Gamepad F710": "../#DefaultDevices/XBOX ONE/Device/Icon.png",
@@ -1083,33 +1112,33 @@
10831112
"`Full Axis 5+`": "../#DefaultDevices/XBOX ONE/Defaultstyle/Trigger R.png"
10841113
},
10851114
"SDL/0/Nintendo Switch Pro Controller": {
1086-
"SDL/0/Nintendo Switch Pro Controller": "../#DefaultDevices/Switch_Pro Controller/Device/Icon.png",
1087-
"`Button 0`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Button A.png",
1088-
"`Button 1`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Button B.png",
1089-
"`Button 2`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Button X.png",
1090-
"`Button 3`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Button Y.png",
1091-
"`Button 4`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Button -.png",
1092-
"`Button 5`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Home.png",
1093-
"`Button 6`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Button +.png",
1094-
"`Button 7`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Thumb L.png",
1095-
"`Button 8`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Thumb R.png",
1096-
"`Button 9`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/L.png",
1097-
"`Button 10`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/R.png",
1098-
"`Button 11`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Pad N.png",
1099-
"`Button 12`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Pad S.png",
1100-
"`Button 13`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Pad W.png",
1101-
"`Button 14`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Pad E.png",
1102-
"`Button 15`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Share.png",
1103-
"`Axis 0-`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Left X-.png",
1104-
"`Axis 0+`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Left X+.png",
1105-
"`Axis 1-`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Left Y+.png",
1106-
"`Axis 1+`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Left Y-.png",
1107-
"`Axis 2-`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Right X-.png",
1108-
"`Axis 2+`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Right X+.png",
1109-
"`Axis 3+`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Right Y-.png",
1110-
"`Axis 3-`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/Right Y+.png",
1111-
"`Full Axis 4+`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/ZL.png",
1112-
"`Full Axis 5+`": "../#DefaultDevices/Switch_Pro Controller/Defaultstyle/ZR.png"
1115+
"SDL/0/Nintendo Switch Pro Controller": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Device/Icon.png",
1116+
"`Button 0`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Button A.png",
1117+
"`Button 1`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Button B.png",
1118+
"`Button 2`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Button X.png",
1119+
"`Button 3`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Button Y.png",
1120+
"`Button 4`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Button -.png",
1121+
"`Button 5`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Home.png",
1122+
"`Button 6`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Button +.png",
1123+
"`Button 7`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Thumb L.png",
1124+
"`Button 8`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Thumb R.png",
1125+
"`Button 9`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/L.png",
1126+
"`Button 10`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/R.png",
1127+
"`Button 11`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Pad N.png",
1128+
"`Button 12`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Pad S.png",
1129+
"`Button 13`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Pad W.png",
1130+
"`Button 14`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Pad E.png",
1131+
"`Button 15`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Share.png",
1132+
"`Axis 0-`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Left X-.png",
1133+
"`Axis 0+`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Left X+.png",
1134+
"`Axis 1-`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Left Y+.png",
1135+
"`Axis 1+`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Left Y-.png",
1136+
"`Axis 2-`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Right X-.png",
1137+
"`Axis 2+`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Right X+.png",
1138+
"`Axis 3+`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Right Y-.png",
1139+
"`Axis 3-`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/Right Y+.png",
1140+
"`Full Axis 4+`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/ZL.png",
1141+
"`Full Axis 5+`": "../#DefaultDevices/_Mirror/Switch_Pro Controller/Defaultstyle/ZR.png"
11131142
},
11141143
"Quartz/0/Keyboard & Mouse": {
11151144
"`Left Click`": "../#DefaultDevices/_Mirror/Keyboard Mouse/Defaultstyle/Click 0.png",

0 commit comments

Comments
 (0)