fixed gamepad identifiers
This commit is contained in:
parent
1f13444d67
commit
e6e78a0f6f
@ -30,16 +30,21 @@ class Gamepad {
|
||||
// gamepad collection default values
|
||||
this.gamepads = {};
|
||||
this.gamepadIdentifiers = {
|
||||
debug: {
|
||||
"debug": {
|
||||
id: /debug/,
|
||||
name: "Debug",
|
||||
colors: []
|
||||
},
|
||||
ds4: {
|
||||
"ds4": {
|
||||
id: /054c.*?05c4/,
|
||||
name: "DualShock 4",
|
||||
colors: ["black", "white", "red", "blue"]
|
||||
},
|
||||
"switch-pro": {
|
||||
id: /057e/,
|
||||
name: "Nintendo Switch Pro Controller",
|
||||
colors: ["black"]
|
||||
},
|
||||
"xbox-one": {
|
||||
id: /xinput|XInput/,
|
||||
name: "Xbox One",
|
||||
|
Loading…
x
Reference in New Issue
Block a user