diff --git a/js/gamepad.js b/js/gamepad.js index 0dd5ad6..a2b2e9c 100644 --- a/js/gamepad.js +++ b/js/gamepad.js @@ -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",