Skip to content

Commit

Permalink
Adds PS3 mappings for Mac.
Browse files Browse the repository at this point in the history
Also fixes typo on Windows PS3 mappings.
  • Loading branch information
NoobsArePeople2 committed Oct 23, 2013
1 parent d60e18c commit 62a28ac
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
45 changes: 45 additions & 0 deletions mappings/mac/playstation-3.json
@@ -0,0 +1,45 @@
{
"desc": "SFML Button mappings for the PS3 controller on Mac.",

"contributor": {
"name": "Sean Monahan",
"email": "hello@seanmonahan.org"
},

"buttons": {

"Cross": 14,
"Circle": 13,
"Square": 15,
"Triangle": 12,
"L1": 10,
"R1": 11,
"Select": 0,
"Start": 3,
"L2": 8,
"R2": 9,
"L3": 1,
"R3": 2,
"PS": 16,
"D-Pad Up": 4,
"D-Pad Right": 5,
"D-Pad Down": 6,
"D-Pad Left": 7

},

"axes": {

"_note_format": "X axes are described in the following format: 'Axis Name: min-value,max-value.",
"_note_sticks": "Using the format described on the horizontal axis, min-value corresponds with left, max-value with right. On the vertical axis, min-value with up, max-value with down.",
"_note_triggers": "Using the format described with triggers, min-value corresponds with the trigger being fully released (not pressed at all) and max-value with the trigger fully pressed.",

"Left Stick Horizontal": "X-axis: -100,100",
"Left Stick Vertical": "Y-axis: -100,100",
"Right Stick Horizontal": "Z-axis: -100,100",
"Right Stick Vertical": "R-axis: -100,100",

}

}

2 changes: 1 addition & 1 deletion mappings/windows/dual-shock-3-motioninjoy-xinput.json
Expand Up @@ -13,7 +13,7 @@
"Square": 2,
"Triangle": 3,
"L1": 4,
"R2": 5,
"R1": 5,
"Select": 6,
"Start": 7,
"L3": 8,
Expand Down

0 comments on commit 62a28ac

Please sign in to comment.