v17 Controller Mapping Issue
#1
I posted this in the "Android" specific forum but having thought about it, and also having gone over the FAQ, I believe it to be a more general issue that I'm having and not platform based.

I'm trying to map one button on my controller, for the life of me I can't get it to work and after having gone over the FAQs 20 times trying to source the root of the problem I'm coming up empty. Here is what I have for the joystick customisation under the listed directory structure....


Android\data\org.xbmc.kodi\files\.kodi\userdata\addon_data\peripheral.joystick\resources\buttonmaps\xml\android\NVIDIA_Corporation_NVIDIA_Controller_v01.04_v0955_p7214_11b_1h_6a.xml
Code:
<?xml version="1.0" ?>
<buttonmap>
    <device name="NVIDIA Corporation NVIDIA Controller v01.04" provider="android" vid="0955" pid="7214" buttoncount="11" hatcount="1" axiscount="6">
        <controller id="game.controller.default">
            <feature name="a" button="0" />
            <feature name="b" button="1" />
            <feature name="back" button="4" />
            <feature name="down" hat="h0down" />
            <feature name="left" hat="h0left" />
            <feature name="leftbumper" button="7" />
            <feature name="leftstick">
                <up axis="-1" />
                <down axis="+1" />
                <right axis="+0" />
                <left axis="-0" />
            </feature>
            <feature name="leftthumb" button="9" />
            <feature name="lefttrigger" axis="+5" />
            <feature name="right" hat="h0right" />
            <feature name="rightbumper" button="8" />
            <feature name="rightstick">
                <up axis="-3" />
                <down axis="+3" />
                <right axis="+2" />
                <left axis="-2" />
            </feature>
            <feature name="rightthumb" button="10" />
            <feature name="righttrigger" axis="+4" />
            <feature name="start" button="6" />
            <feature name="up" hat="h0up" />
            <feature name="x" button="2" />
            <feature name="y" button="3" />
        </controller>
    </device>
</buttonmap>
Android\data\org.xbmc.kodi\files\.kodi\userdata\keymaps\joystick.xml
Code:
<?xml version="1.0" ?>
<keymap>
<global>
<joystick name="NVIDIA Corporation NVIDIA Controller v01.04">
<button id="10">ToggleWatched</button>
</joystick>
</global>
</keymap>

I've also tried:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
<global>
<controller id="game.controller.default">
<button id="10">ToggleWatched</button>
</controller>
</global>
</keymap>

and

Code:
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
<global>
<gamepad>
<rightthumb>ToggleWatched</rightthumb>
<gamepad>
</global>
</keymap>


I've tried various joystick names but nothing works. The only thing of note that I can think of is that there are no keymaps on my system at all other than the one inside the peripheral.joystick\resources\etc link. There is no "default" keymap anywhere for me to edit, i've searched every single folder for joystick.xml and I've physically looked in any keymaps folder I could find... they were all empty until I put in the joysticks.xml file manually. Is there a location for the default keymap that I could look at?

Any help would be greatly appreciated.

Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Controller Mapping Issue0