I made a new joystick.xml file (added it in the keymaps directory). Changing the D-pad mapping is reflected when using the Wii Remote (changed down for to facilitate testing, and left to test) but changing the a and b button do not.
With the Wii Remote, currently, pressing b generates a ScrollDown (again this is with udev, as with the linux drivers the D-pad is not recognised, but the buttons behave in the same way, meaning b triggers a ScrollDown).
Using another gamepad, all the changes in joystick.xml (including a and b) are reflected.
XML
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
<global>
<joystick profile="game.controller.default">
<a>Select</a>
<a holdtime="500">ContextMenu</a>
<b>Back</b>
<up>Up</up>
<down>reloadkeymaps</down>
<right>Right</right>
<left>down</left>
</joystick>
</global>
</keymap>
Display More
As I see garbear has not been actif in the libreelec forum for the last 4 years, should this thread be moved to https://forum.kodi.tv/forumdisplay.php?fid=292 ?