<?xml version="1.0" encoding="UTF-8"?>
<buttonmap>
  <device name="7039RG" provider="android" vid="1949" pid="0402" buttoncount="14" axiscount="8">
    <configuration>
      <appearance id="game.controller.ps.dualanalog"/>
      <button index="10" ignore="true"/>
      <button index="11" ignore="true"/>
    </configuration>
    <controller id="game.controller.colecovision">
      <feature name="button1" button="1"/>
      <feature name="button2" button="0"/>
      <feature name="down" axis="+1"/>
      <feature name="keypad0" button="2"/>
      <feature name="keypad1" axis="+5"/>
      <feature name="keypad2" button="8"/>
      <feature name="keypad3" axis="+6"/>
      <feature name="keypad4" axis="+7"/>
      <feature name="keypad5" button="9"/>
      <feature name="keypad6" axis="+4"/>
      <feature name="keypad7" axis="-6"/>
      <feature name="keypad8" axis="-7"/>
      <feature name="keypad9" button="3"/>
      <feature name="left" axis="-0"/>
      <feature name="pound" button="7"/>
      <feature name="right" axis="+0"/>
      <feature name="star" button="5"/>
      <feature name="up" axis="-1"/>
    </controller>
    <controller id="game.controller.default">
      <feature name="a" button="0"/>
      <feature name="b" button="1"/>
      <feature name="back" button="5"/>
      <feature name="down" axis="+7"/>
      <feature name="guide" button="6"/>
      <feature name="left" axis="-6"/>
      <feature name="leftbumper" button="8"/>
      <feature name="leftstick">
        <up axis="-1"/>
        <down axis="+1"/>
        <right axis="+0"/>
        <left axis="-0"/>
      </feature>
      <feature name="leftthumb" button="12"/>
      <feature name="lefttrigger" axis="+5"/>
      <feature name="right" axis="+6"/>
      <feature name="rightbumper" button="9"/>
      <feature name="rightstick">
        <up axis="-3"/>
        <down axis="+3"/>
        <right axis="+2"/>
        <left axis="-2"/>
      </feature>
      <feature name="rightthumb" button="13"/>
      <feature name="righttrigger" axis="+4"/>
      <feature name="start" button="7"/>
      <feature name="up" axis="-7"/>
      <feature name="x" button="2"/>
      <feature name="y" button="3"/>
    </controller>
  </device>
</buttonmap>
