Skip to content

Commit

Permalink
Merge pull request #302 from mintsoft/mintsoft-patch-1
Browse files Browse the repository at this point in the history
Adding linux driver buttonmap for 8BitDo M30
  • Loading branch information
garbear authored May 1, 2024
2 parents ad6bab7 + 60839cb commit 1482eb9
Showing 1 changed file with 25 additions and 0 deletions.
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>

0 comments on commit 1482eb9

Please sign in to comment.