Skip to content

Commit

Permalink
Update dualshock4.json to match joystick_dualshock4.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Merrony committed May 20, 2018
1 parent a5de5f6 commit c2df2e2
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions platforms/joystick/configs/dualshock4.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,53 +12,53 @@
},
{
"name": "right_x",
"id": 2
"id": 3
},
{
"name": "right_y",
"id": 5
"id": 4
},
{
"name": "l2",
"id": 3
"id": 2
},
{
"name": "r2",
"id": 4
"id": 5
},
{
"name": "up",
"id": 7
},
{
"name": "down",
"id": 6
"id": 7
},
{
"name": "left",
"id": 7
"id": 6
},
{
"name": "right",
"id": 8
"id": 6
}
],
"buttons": [
{
"name": "square",
"id": 0
"id": 3
},
{
"name": "triangle",
"id": 3
"id": 2
},
{
"name": "circle",
"id": 2
"id": 1
},
{
"name": "x",
"id": 1
"id": 0
},
{
"name": "l1",
Expand All @@ -85,7 +85,15 @@
"id": 9
},
{
"name": "home",
"name": "ps",
"id": 10
},
{
"name": "left",
"id": 11
},
{
"name": "right",
"id": 12
}
]
Expand Down

0 comments on commit c2df2e2

Please sign in to comment.