forked from a1rwulf/peripheral.joystick
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #309 from garbear/add-linux-maps
Add linux and udev buttonmaps
- Loading branch information
Showing
10 changed files
with
316 additions
and
2 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
peripheral.joystick/resources/buttonmaps/xml/linux/DualSense_Wireless_Controller_13b_8a.xml
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,43 @@ | ||
<?xml version="1.0" ?> | ||
<buttonmap> | ||
<device name="DualSense Wireless Controller" provider="linux" buttoncount="13" axiscount="8"> | ||
<configuration> | ||
<appearance id="game.controller.ps.dualanalog" /> | ||
<axis index="2" center="-1" range="2" /> | ||
<axis index="5" center="-1" range="2" /> | ||
<button index="6" ignore="true" /> | ||
<button index="7" ignore="true" /> | ||
</configuration> | ||
<controller id="game.controller.ps.dualanalog"> | ||
<feature name="analog" button="10" /> | ||
<feature name="circle" button="1" /> | ||
<feature name="cross" button="0" /> | ||
<feature name="down" axis="+7" /> | ||
<feature name="l3" button="11" /> | ||
<feature name="left" axis="-6" /> | ||
<feature name="leftbumper" button="4" /> | ||
<feature name="leftstick"> | ||
<up axis="-1" /> | ||
<down axis="+1" /> | ||
<right axis="+0" /> | ||
<left axis="-0" /> | ||
</feature> | ||
<feature name="lefttrigger" axis="+2" /> | ||
<feature name="r3" button="12" /> | ||
<feature name="right" axis="+6" /> | ||
<feature name="rightbumper" button="5" /> | ||
<feature name="rightstick"> | ||
<up axis="-4" /> | ||
<down axis="+4" /> | ||
<right axis="+3" /> | ||
<left axis="-3" /> | ||
</feature> | ||
<feature name="righttrigger" axis="+5" /> | ||
<feature name="select" button="8" /> | ||
<feature name="square" button="3" /> | ||
<feature name="start" button="9" /> | ||
<feature name="triangle" button="2" /> | ||
<feature name="up" axis="-7" /> | ||
</controller> | ||
</device> | ||
</buttonmap> |
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
43 changes: 43 additions & 0 deletions
43
...ources/buttonmaps/xml/linux/Sony_Interactive_Entertainment_DualSense_Wireless__13b_8a.xml
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,43 @@ | ||
<?xml version="1.0" ?> | ||
<buttonmap> | ||
<device name="Sony Interactive Entertainment DualSense Wireless Controller" provider="linux" buttoncount="13" axiscount="8"> | ||
<configuration> | ||
<appearance id="game.controller.ps.dualanalog" /> | ||
<axis index="2" center="-1" range="2" /> | ||
<axis index="5" center="-1" range="2" /> | ||
<button index="6" ignore="true" /> | ||
<button index="7" ignore="true" /> | ||
</configuration> | ||
<controller id="game.controller.ps.dualanalog"> | ||
<feature name="analog" button="10" /> | ||
<feature name="circle" button="1" /> | ||
<feature name="cross" button="0" /> | ||
<feature name="down" axis="+7" /> | ||
<feature name="l3" button="11" /> | ||
<feature name="left" axis="-6" /> | ||
<feature name="leftbumper" button="4" /> | ||
<feature name="leftstick"> | ||
<up axis="-1" /> | ||
<down axis="+1" /> | ||
<right axis="+0" /> | ||
<left axis="-0" /> | ||
</feature> | ||
<feature name="lefttrigger" axis="+2" /> | ||
<feature name="r3" button="12" /> | ||
<feature name="right" axis="+6" /> | ||
<feature name="rightbumper" button="5" /> | ||
<feature name="rightstick"> | ||
<up axis="-4" /> | ||
<down axis="+4" /> | ||
<right axis="+3" /> | ||
<left axis="-3" /> | ||
</feature> | ||
<feature name="righttrigger" axis="+5" /> | ||
<feature name="select" button="8" /> | ||
<feature name="square" button="3" /> | ||
<feature name="start" button="9" /> | ||
<feature name="triangle" button="2" /> | ||
<feature name="up" axis="-7" /> | ||
</controller> | ||
</device> | ||
</buttonmap> |
41 changes: 41 additions & 0 deletions
41
...eral.joystick/resources/buttonmaps/xml/linux/Xbox_360_Wireless_Receiver__XBOX__15b_8a.xml
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,41 @@ | ||
<?xml version="1.0" ?> | ||
<buttonmap> | ||
<device name="Xbox 360 Wireless Receiver (XBOX)" provider="linux" buttoncount="15" axiscount="8"> | ||
<configuration> | ||
<appearance id="game.controller.default" /> | ||
<axis index="2" center="-1" range="2" /> | ||
<axis index="5" center="-1" range="2" /> | ||
</configuration> | ||
<controller id="game.controller.default"> | ||
<feature name="a" button="0" /> | ||
<feature name="b" button="1" /> | ||
<feature name="back" button="6" /> | ||
<feature name="down" button="14" /> | ||
<feature name="guide" button="8" /> | ||
<feature name="left" button="11" /> | ||
<feature name="leftbumper" button="4" /> | ||
<feature name="leftstick"> | ||
<up axis="-1" /> | ||
<down axis="+1" /> | ||
<right axis="+0" /> | ||
<left axis="-0" /> | ||
</feature> | ||
<feature name="leftthumb" button="9" /> | ||
<feature name="lefttrigger" axis="+2" /> | ||
<feature name="right" button="12" /> | ||
<feature name="rightbumper" button="5" /> | ||
<feature name="rightstick"> | ||
<up axis="-4" /> | ||
<down axis="+4" /> | ||
<right axis="+3" /> | ||
<left axis="-3" /> | ||
</feature> | ||
<feature name="rightthumb" button="10" /> | ||
<feature name="righttrigger" axis="+5" /> | ||
<feature name="start" button="7" /> | ||
<feature name="up" button="13" /> | ||
<feature name="x" button="2" /> | ||
<feature name="y" button="3" /> | ||
</controller> | ||
</device> | ||
</buttonmap> |
43 changes: 43 additions & 0 deletions
43
...ystick/resources/buttonmaps/xml/udev/DualSense_Wireless_Controller_v054C_p0CE6_13b_8a.xml
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,43 @@ | ||
<?xml version="1.0" ?> | ||
<buttonmap> | ||
<device name="DualSense Wireless Controller" provider="udev" vid="054C" pid="0CE6" buttoncount="13" axiscount="8"> | ||
<configuration> | ||
<appearance id="game.controller.ps.dualanalog" /> | ||
<axis index="2" center="-1" range="2" /> | ||
<axis index="5" center="-1" range="2" /> | ||
<button index="6" ignore="true" /> | ||
<button index="7" ignore="true" /> | ||
</configuration> | ||
<controller id="game.controller.ps.dualanalog"> | ||
<feature name="analog" button="10" /> | ||
<feature name="circle" button="1" /> | ||
<feature name="cross" button="0" /> | ||
<feature name="down" axis="+7" /> | ||
<feature name="l3" button="11" /> | ||
<feature name="left" axis="-6" /> | ||
<feature name="leftbumper" button="4" /> | ||
<feature name="leftstick"> | ||
<up axis="-1" /> | ||
<down axis="+1" /> | ||
<right axis="+0" /> | ||
<left axis="-0" /> | ||
</feature> | ||
<feature name="lefttrigger" axis="+2" /> | ||
<feature name="r3" button="12" /> | ||
<feature name="right" axis="+6" /> | ||
<feature name="rightbumper" button="5" /> | ||
<feature name="rightstick"> | ||
<up axis="-4" /> | ||
<down axis="+4" /> | ||
<right axis="+3" /> | ||
<left axis="-3" /> | ||
</feature> | ||
<feature name="righttrigger" axis="+5" /> | ||
<feature name="select" button="8" /> | ||
<feature name="square" button="3" /> | ||
<feature name="start" button="9" /> | ||
<feature name="triangle" button="2" /> | ||
<feature name="up" axis="-7" /> | ||
</controller> | ||
</device> | ||
</buttonmap> |
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
40 changes: 40 additions & 0 deletions
40
...l.joystick/resources/buttonmaps/xml/udev/Microsoft_X-Box_360_pad_0_v28DE_p11FF_11b_8a.xml
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,40 @@ | ||
<?xml version="1.0" ?> | ||
<buttonmap> | ||
<device name="Microsoft X-Box 360 pad 0" provider="udev" vid="28DE" pid="11FF" buttoncount="11" axiscount="8"> | ||
<configuration> | ||
<appearance id="game.controller.default" /> | ||
<axis index="2" center="-1" range="2" /> | ||
<axis index="5" center="-1" range="2" /> | ||
</configuration> | ||
<controller id="game.controller.default"> | ||
<feature name="a" button="0" /> | ||
<feature name="b" button="1" /> | ||
<feature name="back" button="6" /> | ||
<feature name="down" axis="+7" /> | ||
<feature name="left" axis="-6" /> | ||
<feature name="leftbumper" button="4" /> | ||
<feature name="leftstick"> | ||
<up axis="-1" /> | ||
<down axis="+1" /> | ||
<right axis="+0" /> | ||
<left axis="-0" /> | ||
</feature> | ||
<feature name="leftthumb" button="9" /> | ||
<feature name="lefttrigger" axis="+2" /> | ||
<feature name="right" axis="+6" /> | ||
<feature name="rightbumper" button="5" /> | ||
<feature name="rightstick"> | ||
<up axis="-4" /> | ||
<down axis="+4" /> | ||
<right axis="+3" /> | ||
<left axis="-3" /> | ||
</feature> | ||
<feature name="rightthumb" button="10" /> | ||
<feature name="righttrigger" axis="+5" /> | ||
<feature name="start" button="7" /> | ||
<feature name="up" axis="-7" /> | ||
<feature name="x" button="2" /> | ||
<feature name="y" button="3" /> | ||
</controller> | ||
</device> | ||
</buttonmap> |
43 changes: 43 additions & 0 deletions
43
...onmaps/xml/udev/Sony_Interactive_Entertainment_DualSense_Wireless__v054C_p0CE6_13b_8a.xml
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,43 @@ | ||
<?xml version="1.0" ?> | ||
<buttonmap> | ||
<device name="Sony Interactive Entertainment DualSense Wireless Controller" provider="udev" vid="054C" pid="0CE6" buttoncount="13" axiscount="8"> | ||
<configuration> | ||
<appearance id="game.controller.ps.dualanalog" /> | ||
<axis index="2" center="-1" range="2" /> | ||
<axis index="5" center="-1" range="2" /> | ||
<button index="6" ignore="true" /> | ||
<button index="7" ignore="true" /> | ||
</configuration> | ||
<controller id="game.controller.ps.dualanalog"> | ||
<feature name="analog" button="10" /> | ||
<feature name="circle" button="1" /> | ||
<feature name="cross" button="0" /> | ||
<feature name="down" axis="+7" /> | ||
<feature name="l3" button="11" /> | ||
<feature name="left" axis="-6" /> | ||
<feature name="leftbumper" button="4" /> | ||
<feature name="leftstick"> | ||
<up axis="-1" /> | ||
<down axis="+1" /> | ||
<right axis="+0" /> | ||
<left axis="-0" /> | ||
</feature> | ||
<feature name="lefttrigger" axis="+2" /> | ||
<feature name="r3" button="12" /> | ||
<feature name="right" axis="+6" /> | ||
<feature name="rightbumper" button="5" /> | ||
<feature name="rightstick"> | ||
<up axis="-4" /> | ||
<down axis="+4" /> | ||
<right axis="+3" /> | ||
<left axis="-3" /> | ||
</feature> | ||
<feature name="righttrigger" axis="+5" /> | ||
<feature name="select" button="8" /> | ||
<feature name="square" button="3" /> | ||
<feature name="start" button="9" /> | ||
<feature name="triangle" button="2" /> | ||
<feature name="up" axis="-7" /> | ||
</controller> | ||
</device> | ||
</buttonmap> |
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
41 changes: 41 additions & 0 deletions
41
...ck/resources/buttonmaps/xml/udev/Xbox_360_Wireless_Receiver__XBOX__v045E_p02A1_15b_8a.xml
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,41 @@ | ||
<?xml version="1.0" ?> | ||
<buttonmap> | ||
<device name="Xbox 360 Wireless Receiver (XBOX)" provider="udev" vid="045E" pid="02A1" buttoncount="15" axiscount="8"> | ||
<configuration> | ||
<appearance id="game.controller.default" /> | ||
<axis index="2" center="-1" range="2" /> | ||
<axis index="5" center="-1" range="2" /> | ||
</configuration> | ||
<controller id="game.controller.default"> | ||
<feature name="a" button="0" /> | ||
<feature name="b" button="1" /> | ||
<feature name="back" button="6" /> | ||
<feature name="down" button="14" /> | ||
<feature name="guide" button="8" /> | ||
<feature name="left" button="11" /> | ||
<feature name="leftbumper" button="4" /> | ||
<feature name="leftstick"> | ||
<up axis="-1" /> | ||
<down axis="+1" /> | ||
<right axis="+0" /> | ||
<left axis="-0" /> | ||
</feature> | ||
<feature name="leftthumb" button="9" /> | ||
<feature name="lefttrigger" axis="+2" /> | ||
<feature name="right" button="12" /> | ||
<feature name="rightbumper" button="5" /> | ||
<feature name="rightstick"> | ||
<up axis="-4" /> | ||
<down axis="+4" /> | ||
<right axis="+3" /> | ||
<left axis="-3" /> | ||
</feature> | ||
<feature name="rightthumb" button="10" /> | ||
<feature name="righttrigger" axis="+5" /> | ||
<feature name="start" button="7" /> | ||
<feature name="up" button="13" /> | ||
<feature name="x" button="2" /> | ||
<feature name="y" button="3" /> | ||
</controller> | ||
</device> | ||
</buttonmap> |