Skip to content

Instantly share code, notes, and snippets.

@garbear
Created February 6, 2017 22:46
Show Gist options
  • Save garbear/c0521764d988e4783726dd6b6d637d9a to your computer and use it in GitHub Desktop.
Save garbear/c0521764d988e4783726dd6b6d637d9a to your computer and use it in GitHub Desktop.
<?xml version="1.0" ?>
<buttonmap>
<device name="SDL Game Controller" provider="sdl" buttoncount="15" axiscount="6">
<configuration />
<controller id="game.controller.default">
<feature name="a" button="0" />
<feature name="b" button="1" />
<feature name="back" button="6" />
<feature name="guide" button="14" />
<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="8" />
<feature name="lefttrigger" axis="+4" />
<feature name="rightbumper" button="5" />
<feature name="righttrigger" axis="+5" />
<feature name="start" button="7" />
<feature name="x" button="2" />
<feature name="y" button="3" />
</controller>
</device>
</buttonmap>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment