2023-10-24, 22:17
Hi, I've been using Kodi for years, but this is my first post here.
I'm having a problem using a gamepad with Kodi on Android. The problem I'm having is that I can't correctly map the gamepad keys to use it on Kodi and on emulators within Kodi.
What happens is that before using the settings to configure the controller, most of the buttons on the controller seem to do the same action (not the arrow keys which don't work), to enter a section or menu. When I go to settings to configure the controller, I can't properly map all the buttons. The arrow keys work correctly, but all the other buttons don't. I press on the screen the button I want to configure, then I press it on the controller, but when it automatically goes to the next button it doesn't work. I have to configure the buttons one by one. It's strange and I think this behavior is important to understand what's going on. Then after mapping all the buttons on the controller, the behavior of all the buttons is the same as before, most of the buttons perform the same action, but now the arrow keys work correctly.
My controller is a generic one that looks like a PS2 controller, it's a wireless/USB controller connected with USB to my Android phone. There's not much to say about it, I've had it for a few years, I bought it on Aliexpress but I haven't used it much. Kodi detects it as "ShanWan USB WirelessGamepad". Since it's a USB controller, I have also used it on my PC and it works perfectly on Windows 11 and Ubuntu 22.04.3. In both cases I'm also using it with Kodi and I have no problems. The problem is only present on Android.
I also tested the controller on a clean setup (uninstalled the app and deleted all data) on my phone (Samsung Galaxy S20 FE), and also on an older setup on an older phone (Samsung Galaxy S10) that I haven't used in a while. I had the same problem in both cases. Also, I tested the same controller with other apps on my phone and it works fine, I can map all the buttons correctly. It's only with Kodi for Android this controller doesn't work correctly. Also, I have another controller (bluetooth) and works good in my phone, so the problem only happens with the one specific controller.
I'm using Kodi 20.2 for Android, installed from the Google Play Store.
Since I did everything I could think of I'm now here asking for someone's help, if anyone have any idea of what I could do I'd appreciate any help.
TL;DR: I can't setup my controller on Kodi for Android, but the controller works fine for everything else.
System information
Samsung Galaxy S20 FE
Android 13
Kodi 20.2
Controller: ShanWan USB WirelessGamepad
This is the log file from when I tried to use a clean setup. At lines 358 and after you can see what I think happened when I was trying to map the controller buttons. If there's anything else I could do to have more information that could help you help me please tell let me know.
I'm having a problem using a gamepad with Kodi on Android. The problem I'm having is that I can't correctly map the gamepad keys to use it on Kodi and on emulators within Kodi.
What happens is that before using the settings to configure the controller, most of the buttons on the controller seem to do the same action (not the arrow keys which don't work), to enter a section or menu. When I go to settings to configure the controller, I can't properly map all the buttons. The arrow keys work correctly, but all the other buttons don't. I press on the screen the button I want to configure, then I press it on the controller, but when it automatically goes to the next button it doesn't work. I have to configure the buttons one by one. It's strange and I think this behavior is important to understand what's going on. Then after mapping all the buttons on the controller, the behavior of all the buttons is the same as before, most of the buttons perform the same action, but now the arrow keys work correctly.
My controller is a generic one that looks like a PS2 controller, it's a wireless/USB controller connected with USB to my Android phone. There's not much to say about it, I've had it for a few years, I bought it on Aliexpress but I haven't used it much. Kodi detects it as "ShanWan USB WirelessGamepad". Since it's a USB controller, I have also used it on my PC and it works perfectly on Windows 11 and Ubuntu 22.04.3. In both cases I'm also using it with Kodi and I have no problems. The problem is only present on Android.
I also tested the controller on a clean setup (uninstalled the app and deleted all data) on my phone (Samsung Galaxy S20 FE), and also on an older setup on an older phone (Samsung Galaxy S10) that I haven't used in a while. I had the same problem in both cases. Also, I tested the same controller with other apps on my phone and it works fine, I can map all the buttons correctly. It's only with Kodi for Android this controller doesn't work correctly. Also, I have another controller (bluetooth) and works good in my phone, so the problem only happens with the one specific controller.
I'm using Kodi 20.2 for Android, installed from the Google Play Store.
Since I did everything I could think of I'm now here asking for someone's help, if anyone have any idea of what I could do I'd appreciate any help.
TL;DR: I can't setup my controller on Kodi for Android, but the controller works fine for everything else.
System information
Samsung Galaxy S20 FE
Android 13
Kodi 20.2
Controller: ShanWan USB WirelessGamepad
This is the log file from when I tried to use a clean setup. At lines 358 and after you can see what I think happened when I was trying to map the controller buttons. If there's anything else I could do to have more information that could help you help me please tell let me know.