| 1 | <?xml version="1.0" ?> |
| 2 | <buttonmap> |
| 3 | <device name="USB Gamepad" provider="linux" buttoncount="10" axiscount="2"> |
| 4 | <configuration> |
| 5 | <appearance id="game.controller.snes" /> |
| 6 | </configuration> |
| 7 | <controller id="game.controller.snes"> |
| 8 | <feature name="a" button="1" /> |
| 9 | <feature name="b" button="2" /> |
| 10 | <feature name="down" axis="+1" /> |
| 11 | <feature name="left" axis="-0" /> |
| 12 | <feature name="leftbumper" button="4" /> |
| 13 | <feature name="right" axis="+0" /> |
| 14 | <feature name="rightbumper" button="5" /> |
| 15 | <feature name="select" button="8" /> |
| 16 | <feature name="start" button="9" /> |
| 17 | <feature name="up" axis="-1" /> |
| 18 | <feature name="x" button="0" /> |
| 19 | <feature name="y" button="3" /> |
| 20 | </controller> |
| 21 | </device> |
| 22 | </buttonmap> |