Dear All,
I want to attribute scripts and system commands on a bluetooth joystick with functions (for ex. system.exec(), powerdown, ...)
But when I want to assign buttons via system-input, it's just for entries of an existing controller (up, down, right, left, A, B, etc ...)
The file written is located here : /storage/.kodi/userdata/addon_data/peripheral.joystick/resources/buttonmaps/xml/linux/
Here is the current file
XML
		
					
				<?xml version="1.0" ?>
<buttonmap>
    <device name="ACGAM R1          " provider="linux" buttoncount="12" axiscount="2">
        <configuration />
        <controller id="game.controller.default">
            <feature name="a" button="6" />
            <feature name="b" button="7" />
            <feature name="back" button="0" />
            <feature name="guide" button="4" />
            <feature name="leftstick">
                <up axis="-1" />
                <down axis="+1" />
                <right axis="+0" />
                <left axis="-0" />
            </feature>
            <feature name="x" button="1" />
            <feature name="y" button="3" />
        </controller>
    </device>
</buttonmap>I've tried to use the add-on keymap editor, it works well with a keyboard, but i want to use my joystick for this ... And assign my custom commands
Here is the joystick's user manual (because it have 4 functionnal modes that i want to exploit)
Thanks for your help
 
		 
		
		
	