Android The controller does not work to play.
#1
I'm using Kodi version 19.3 on Android (I have connected a remote control by usb, and a controller that imitates a ps3 one, but that is not by bluetooth, but brings its own wifi connection by usb). Both controllers can be used without any problem to control Kodi.

The peripherals that appear in system/input are:
sunxi-ir-uinput
ShanWan USB WirelessGamepad
Usb Composite Device USB Composite Device

I use the IAGL addon. The addon installed fine and I got as far as running the games. But it turns out that when I want to start playing, the controller doesn't work quite right. 
All the buttons (start,select, a,b,c,etc.) run the "game menu" (the screen that says: "Pause/Resume Reset, Exit, Settings"). At the same time if I do up or down on the controller, it takes me inside the game, and allows me to move through the options that I have (like start, player1, options... the ones that the game has).
I already configured the controller in system/input. And nothing. 

What can I do?

p.s. by the way, I installed retroarch from the play store and there I can play the games with no problem, using this controller.  But obviously I would like to be able to play directly from Kodi.
Thanks!


Translated with www.DeepL.com/Translator (free version)
Reply
#2
I think you may have found a bug. When there are more controllers than games, the unused controllers have their button presses go to the GUI somehow. I'll work on a fix when I get a chance. Thanks for reporting!
RetroPlayer releases: https://github.com/garbear/xbmc/releases

Donations: eigendude.eth
Reply
#3
Oh, thanks! If you need some kind of log, or something else tell me.
Thanks
Reply
#4
Did this issue get resolved? I am having the same problem.
Reply
#5
This has been partially resolved, the reason it is broke is because Android has several "virtual" controllers. The fix I put in place was to priority controllers based on when the last button was pressed. However, some virtual controllers even send virtual button presses, so the fix is kinda incomplete. This is still on my list of things to fix.
RetroPlayer releases: https://github.com/garbear/xbmc/releases

Donations: eigendude.eth
Reply
#6
I created a fix for Kodi to ignore virtual controllers: https://github.com/xbmc/xbmc/pull/24382

The fix will be included in v20.3 and v21 Beta 3.

The fix is included in my latest round of test builds: https://github.com/garbear/xbmc/releases
RetroPlayer releases: https://github.com/garbear/xbmc/releases

Donations: eigendude.eth
Reply
#7
I'm bringing together all recent Android controller support threads: https://forum.kodi.tv/showthread.php?tid=376084

Please bring further help debugging these issues to that thread!
RetroPlayer releases: https://github.com/garbear/xbmc/releases

Donations: eigendude.eth
Reply
#8
@Llewis1621 Can you test my new round of builds from 2024-01-29? I fixed most of the problems on Android I've come across, want to make sure it's working for you now. And bring results to the new thread! https://forum.kodi.tv/showthread.php?tid=376084
RetroPlayer releases: https://github.com/garbear/xbmc/releases

Donations: eigendude.eth
Reply
#9
(2024-01-01, 07:33)garbear Wrote: I created a fix for Kodi to ignore virtual controllers: https://github.com/xbmc/xbmc/pull/24382

The fix will be included in v20.3 and v21 Beta 3.

The fix is included in my latest round of test builds: https://github.com/garbear/xbmc/releasesSlope Game

so helpful!
Reply

Logout Mark Read Team Forum Stats Members Help
The controller does not work to play.0