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 #302 from mintsoft/mintsoft-patch-1
Adding linux driver buttonmap for 8BitDo M30
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
peripheral.joystick/resources/buttonmaps/xml/linux/8BitDo_M30_gamepad_16b_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,25 @@ | ||
<?xml version="1.0" ?> | ||
<buttonmap> | ||
<device name="8BitDo M30 gamepad" provider="linux" buttoncount="16" axiscount="8"> | ||
<configuration> | ||
<appearance id="game.controller.saturn" /> | ||
<axis index="4" center="-1" range="2" ignore="true" /> | ||
<axis index="5" center="-1" range="2" ignore="true" /> | ||
</configuration> | ||
<controller id="game.controller.saturn"> | ||
<feature name="a" button="0" /> | ||
<feature name="b" button="1" /> | ||
<feature name="c" button="7" /> | ||
<feature name="down" axis="+1" /> | ||
<feature name="left" axis="-0" /> | ||
<feature name="leftbumper" button="8" /> | ||
<feature name="right" axis="+0" /> | ||
<feature name="rightbumper" button="9" /> | ||
<feature name="start" button="11" /> | ||
<feature name="up" axis="-1" /> | ||
<feature name="x" button="3" /> | ||
<feature name="y" button="4" /> | ||
<feature name="z" button="6" /> | ||
</controller> | ||
</device> | ||
</buttonmap> |