-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds mapping for wired 360 pad on Linux.
- Loading branch information
1 parent
9f56edc
commit 5f45f2e
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"desc": "SFML Button mappings for the XBox 360 controller on Linux (Ubunut).", | ||
|
||
"contributor": { | ||
"name": "Sean Monahan", | ||
"email": "hello@seanmonahan.org" | ||
}, | ||
|
||
"buttons": { | ||
|
||
"A": 0, | ||
"B": 1, | ||
"X": 2, | ||
"Y": 3, | ||
"LB": 4, | ||
"RB": 5, | ||
"Back": 6, | ||
"Start": 7, | ||
"Left Stick Press": 9, | ||
"Right Stick Press": 10, | ||
"Guide": 8 | ||
|
||
}, | ||
|
||
"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": "U-axis: -100,100", | ||
"Right Stick Vertical": "V-axis: -100,100", | ||
|
||
"_note_360_triggers": "On the 360 pad the triggers share an axis, making it impossble to use both effectively. This is a limitation of DirectInput not SFML.", | ||
"Left Trigger": "Z-axis: -100,100", | ||
"Right Tigger": "R-axis: -100,-100", | ||
|
||
"_note_dpad": "Though they are digital buttons, the D-Pad is mapped to the PovX and PovY axes.", | ||
"D-Pad Up": "PovY: 0,-100", | ||
"D-Pad Right": "PovX: 0,100", | ||
"D-Pad Down": "PovY: 0,100", | ||
"D-Pad Left": "PovX: 0,-100" | ||
} | ||
|
||
} | ||
|