Got it working earlier after some headaches. First challenge was that I use my G25 via a non-GUI Raspberry Pi and the gimx config app doesn't work without GUI
![Surprised :o](./images/smilies/icon_e_surprised.gif)
. Since I don't currently have a PC I ended up having to Bootcamp into Win10 on my Mac so to generate the xml. After installing Logitech's drivers I was happy to see that the gimx launcher found both the G25 and PS4 controller and all seemed good. Loaded the bundled LogitechG25_G29.xml and used auto detect to add the missing two buttons. Saved the updated xml and moved it over to my Raspberry PI.
This is when it all went wrong. It turned out that mapping for most buttons was now completely off
![Shocked :shock:](./images/smilies/icon_eek.gif)
. Somehow, whether because I generated it on iMac hardware, or the distributed file was wrong but the wheel was not working anymore. Compared the new file to the original working one I had and there were something like 20- 30 mapping differences between them. After some experimentation I ended up taking my original file and adding only the code for the missing two buttons, which finally made it all work as it should have been. Pheeww!
For anyone interested, here is the missing code for the wheel - with wheel name changed to what I had in my original file:
Code: Select all
<button id="abs_axis_13" label="">
<device type="joystick" id="0" name="G25 Racing Wheel"/>
<event type="button" id="7"/>
</button>
<button id="abs_axis_14" label="">
<device type="joystick" id="0" name="G25 Racing Wheel"/>
<event type="button" id="6"/>
</button>
This code goes inside anywhere in the
<button_map> section of the file.
I will play around some more and will try to get the PS4 controller also have those two buttons working. Will post it here if it's good. Hopefully they will make it into the distributed xml file...