(2021-04-09, 06:46)Yefet Wrote: (2021-04-08, 21:22)zachmorris Wrote: (2021-04-08, 19:28)Yefet Wrote: Thanks.
How do I make the debug log you need?
1) Enable debug logging
2) Recreate the issue with debug logging on
3) Manually upload or copy/paste the log to pastebin/hastebin or similar site.
or
3) Alternatively, there's an official addon that will upload your log for you and provide you the link.
https://paste.kodi.tv/anamuqazud
I pressed all the buttons on my controller. Hope you can find the problem. Thanks.
The controller appears to be handled as a keyboard:
xml:
2021-04-09 07:44:05.580 T:13309 DEBUG: Keyboard: scancode: 0x17, sym: 0x000d, unicode: 0x0000, modifier: 0x0
2021-04-09 07:44:05.714 T:13309 DEBUG: Previous line repeats 1 times.
2021-04-09 07:44:05.714 T:13309 DEBUG: HandleKey: return (0xf00d) pressed, action is OSD
2021-04-09 07:44:05.714 T:13309 DEBUG: ------ Window Init (GameOSD.xml) ------
2021-04-09 07:44:05.718 T:13309 DEBUG: PERIPHERALS: Event poll handle deactivated
And it looks like every time you hit a button it's registering both a keyboard entry and a button entry, the latter is ignored:
xml:
2021-04-09 07:42:49.446 T:13309 DEBUG: Keyboard: scancode: 0x13, sym: 0x0111, unicode: 0x0000, modifier: 0x0
2021-04-09 07:42:49.447 T:13309 DEBUG: HandleKey: up (0xf080) pressed, action is Up
2021-04-09 07:42:49.572 T:13307 WARNING: CPeripheralBusAndroid: ignoring input event for unknown input device with ID 4
2021-04-09 07:42:49.644 T:13309 WARNING: Previous line repeats 1 times.
I'm not an expert, but I'd guess it's Android doing something wonky. Not sure if there are settings in the Android OS you can change for how the controller is handled or not. The only other thing you might be able to try is in Kodi settings>System>Input>Driver Settings>Joystick Driver you could try changing that to something else like udev and see if it handles the controller better.