fixed gamepad identifiers

This commit is contained in:
e7d 2019-06-02 11:47:31 +02:00
parent 1f13444d67
commit e6e78a0f6f

View File

@ -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",