<gamepad>
  <name>SNES</name>
  <id>30130e8f-0000-0000-0000-504944564944</id>

  <jump>
    <button id="2"/>
  </jump>
  <shoot>
    <button id="1"/>
    <button id="3"/>
  </shoot>
  <dodge>
    <button id="6"/>
    <button id="7"/>
  </dodge>
<arrows>
    <button id="4"/>
  </arrows>

  <left>
    <axis_below id="0" threshold="-.5"/>
  </left>
  <right>
    <axis_above id="0" threshold=".5"/>
  </right>
  <up>
    <axis_below id="1" threshold="-.5"/>
  </up>
  <down>
    <axis_above id="1" threshold=".5"/>
  </down>
  <aim>
    <axes x="0" y="1" threshold=".5"/>
  </aim>

  <start>
    <button id="9"/>
  </start>
  <confirm>
    <button id="2"/>
  </confirm>
  <back>
    <button id="1"/>
    <button id="3"/>
  </back>
  <alt>
    <button id="7"/>
  </alt>
  <alt2>
    <button id="6"/>
  </alt2>
  <skip_replay>
    <button id="9"/>
  </skip_replay>

  <icons>
    <player>snes/player</player>
    <move>snes/dpad</move>
    <jump>snes/b</jump>
    <shoot>snes/y</shoot>
    <dodge>snes/r</dodge>
    <start>snes/start</start>
    <confirm>snes/b</confirm>
    <back>snes/a</back>
    <alt>snes/r</alt>
    <alt2>snes/l</alt2>
    <skip_replay>snes/start</skip_replay>
  </icons>
</gamepad>
