Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapping for 54c-9cc-Wireless Controller ~Chrome Windows NT~ Firefox Mac OS X #22

Open
philschatz opened this issue Jan 17, 2019 · 0 comments

Comments

@philschatz
Copy link

philschatz commented Jan 17, 2019

The browser information below was reported incorrectly. I used Firefox on macOS; it was a PS4 controller.

Please include this mapping:

{
  "axes": {
    "dpad x": {
      "index": 6
    },
    "dpad y": {
      "index": 7
    },
    "left stick x": {
      "index": 0
    },
    "left stick y": {
      "index": 1
    },
    "right stick x": {
      "index": 2
    },
    "right trigger": {
      "index": 4
    },
    "left trigger": {
      "index": 3
    }
  },
  "buttons": {
    "b": {
      "index": 2
    },
    "dpad down": {
      "index": 15
    },
    "dpad up": {
      "index": 14
    },
    "right stick": {
      "index": 11
    },
    "right stick down": {
      "axis": 5,
      "direction": 1
    },
    "right stick up": {
      "axis": 5,
      "direction": -1
    },
    "x": {
      "index": 0
    },
    "left shoulder": {
      "index": 4
    },
    "right trigger": {
      "index": 7
    },
    "right shoulder": {
      "index": 5
    },
    "left trigger": {
      "index": 6
    },
    "left stick up": {
      "axis": 1,
      "direction": -1
    },
    "left stick left": {
      "axis": 0,
      "direction": -1
    },
    "left stick right": {
      "axis": 0,
      "direction": 1
    },
    "left stick down": {
      "axis": 1,
      "direction": 1
    },
    "left stick": {
      "index": 10
    },
    "dpad left": {
      "index": 16
    },
    "dpad right": {
      "index": 17
    },
    "right stick left": {
      "axis": 2,
      "direction": -1
    },
    "right stick right": {
      "axis": 2,
      "direction": 1
    },
    "back": {
      "index": 8
    },
    "home": {
      "index": 12
    },
    "start": {
      "index": 9
    },
    "y": {
      "index": 3
    },
    "a": {
      "index": 1
    }
  },
  "name": "54c-9cc-Wireless Controller Chrome Windows NT",
  "supported": [
    {
      "browser": "Chrome",
      "id": "54c-9cc-Wireless Controller",
      "os": "Windows NT"
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant