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 Xbox 360 Controller (XInput STANDARD GAMEPAD) Chrome Windows NT #20

Open
stoikerty opened this issue Dec 3, 2018 · 0 comments

Comments

@stoikerty
Copy link

This is for the 8bitdo Wireless USB Adapter.

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 stick y": {
      "index": 3
    },
    "right trigger": {
      "index": 5
    }
  },
  "buttons": {
    "a": {
      "index": 0
    },
    "b": {
      "index": 1
    },
    "back": {
      "index": 8
    },
    "dpad down": {
      "index": 13
    },
    "dpad left": {
      "index": 14
    },
    "dpad right": {
      "index": 15
    },
    "dpad up": {
      "index": 12
    },
    "home": {
      "index": 16
    },
    "left shoulder": {
      "index": 4
    },
    "left stick": {
      "index": 10
    },
    "left stick down": {
      "axis": 1,
      "direction": 1
    },
    "left stick left": {
      "axis": 0,
      "direction": -1
    },
    "left stick right": {
      "axis": 0,
      "direction": 1
    },
    "left stick up": {
      "axis": 1,
      "direction": -1
    },
    "left trigger": {
      "index": 6
    },
    "right shoulder": {
      "index": 5
    },
    "right stick": {
      "index": 11
    },
    "right stick down": {
      "axis": 3,
      "direction": 1
    },
    "right stick left": {
      "axis": 2,
      "direction": -1
    },
    "right stick right": {
      "axis": 2,
      "direction": 1
    },
    "right stick up": {
      "axis": 3,
      "direction": -1
    },
    "right trigger": {
      "index": 7
    },
    "start": {
      "index": 9
    },
    "x": {
      "index": 2
    },
    "y": {
      "index": 3
    }
  },
  "name": "Xbox 360 Controller (XInput STANDARD GAMEPAD) Chrome Windows NT",
  "supported": [
    {
      "browser": "Chrome",
      "id": "Xbox 360 Controller (XInput STANDARD GAMEPAD)",
      "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