2016-01-10, 19:04
(2016-01-05, 02:14)garbear Wrote: Yes, the "Analog" button is a hardware feature that can't be detected by software. From my experience, enabling the analog LED works better more often than being disabled. I have controllers that simply can't be fully mapped, because the analog button always disables some features. I just created button maps for the analog mode that enabled the most features. Maybe add a comment in the button map XML or its commit's header about this?
Can you do a little more investigating here and let me know what you discover in regards to the analog button?
I did some testing with the USB PSX Adapter (Dual shock controller):
When the analog button is enabled it will:
actual dpad = dpad
left stick = x,y axis
right stick = z axis
When the analog button is disabled it will:
actual dpad = x,y axis
left stick = nothing (Left thumb button is also disabled)
right stick = nothing (Right thumb button is also disabled)
When i plugged in a non-dual shock controller into the adapter. (One without sticks):
actual dpad = x,y axis
This makes it a bit difficult, since i map the dpad to dpad, this controller will not control Kodi.
I also did some testing with an USB dual shock knockoff:
When the analog button is enabled it will:
actual dpad = dpad
left stick = x,y axis
right stick = z axis
When the analog button is disabled it will:
actual dpad = x,y axis
left stick = x,y axis (so same as dpad)
right stick = button 1,2,3,4 (so same as cross,circle,square,triangle)
Hope this is some usefull information for you.