<?xml version="1.0" encoding="UTF-8"?>
<buttonmap>
    <device name="Xbox 360 Wired Controller" provider="cocoa" vid="045E" pid="028E" buttoncount="15" axiscount="6">
        <configuration>
            <appearance id="game.controller.default"/>
            <axis index="4" center="-1" range="2"/>
            <axis index="5" center="-1" range="2"/>
        </configuration>
        <controller id="game.controller.default">
            <feature name="a" button="0"/>
            <feature name="b" button="1"/>
            <feature name="back" button="9"/>
            <feature name="down" button="12"/>
            <feature name="guide" button="10"/>
            <feature name="left" button="13"/>
            <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="6"/>
            <feature name="lefttrigger" axis="+4"/>
            <feature name="right" button="14"/>
            <feature name="rightbumper" button="5"/>
            <feature name="rightstick">
                <up axis="-3"/>
                <down axis="+3"/>
                <right axis="+2"/>
                <left axis="-2"/>
            </feature>
            <feature name="rightthumb" button="7"/>
            <feature name="righttrigger" axis="+5"/>
            <feature name="start" button="8"/>
            <feature name="up" button="11"/>
            <feature name="x" button="2"/>
            <feature name="y" button="3"/>
        </controller>
    </device>
</buttonmap>
