| 1 | <?xml version="1.0" ?> |
| 2 | <buttonmap> |
| 3 | <device name="8BitDo M30 gamepad" provider="linux" buttoncount="16" axiscount="8"> |
| 4 | <configuration> |
| 5 | <appearance id="game.controller.saturn" /> |
| 6 | <axis index="4" center="-1" range="2" ignore="true" /> |
| 7 | <axis index="5" center="-1" range="2" ignore="true" /> |
| 8 | </configuration> |
| 9 | <controller id="game.controller.saturn"> |
| 10 | <feature name="a" button="0" /> |
| 11 | <feature name="b" button="1" /> |
| 12 | <feature name="c" button="7" /> |
| 13 | <feature name="down" axis="+1" /> |
| 14 | <feature name="left" axis="-0" /> |
| 15 | <feature name="leftbumper" button="8" /> |
| 16 | <feature name="right" axis="+0" /> |
| 17 | <feature name="rightbumper" button="9" /> |
| 18 | <feature name="start" button="11" /> |
| 19 | <feature name="up" axis="-1" /> |
| 20 | <feature name="x" button="3" /> |
| 21 | <feature name="y" button="4" /> |
| 22 | <feature name="z" button="6" /> |
| 23 | </controller> |
| 24 | </device> |
| 25 | </buttonmap> |