I set up Mario games on the NES for my wife to play with a classic controller. Once she's done with those, I want her to be able to play Super Mario World on the SNES, but the SNES emulators won't recognize the classic SNES controller. All it does is control Kodi. When I load a game, it only uses the classic NES controller, which obviously doesn't have enough buttons for an SNES game.
Also, I can't get a second player controller to work on the NES emulator for a 2-player co-op game of Mario Bros. Same issue. I set it up, but it only controls Kodi, and doesn't work in the emulator. I can't find any tutorials explaining anything beyond setting up just one controller, or how to make different emulators use different controllers. I've seen a lot of people complaining about these issues on reddit, but nobody there has an answer.
Thank you for any help you guys can offer.
PleaseĀ post a debug log. It will show me why input isn't being sent to the SNES emulator.
Looks like Kodi sees three joysticks:
Code:
debug <general>: AddOnLog: peripheral.joystick: Loaded device "Xbox 360-compatible controller" with 1 controller profiles and 8 total features
debug <general>: AddOnLog: peripheral.joystick: Loaded device "Xbox 360-compatible controller" with 1 controller profiles and 21 total features
debug <general>: AddOnLog: peripheral.joystick: Loaded device "USB Gamepad " with 1 controller profiles and 12 total features
By default the SNES has two ports. I'm guessing that the SNES gamepad is being booted to port 3, causing it to have to input in the game and button presses "falling through" to Kodi.
Looking closer, I found a flaw in the logic introduced in v20, which I've fixed in my latest round of test builds:
https://github.com/garbear/xbmc/releases. Can you give that a try?
If the SNES controller is still being booted to port 3, I can try improving the controller/port selection logic or modify the Ports dialog to allow the ability to assign controllers to specific ports.
Thanks! I'll give it a try and let you know.
Unfortunately, the issue still persists where it only responds to the NES classic controller and ignores the SNES controller in the emulator. Here is the log. I just want to say that I appreciate all the work you're putting into this.
https://paste.kodi.tv/qepileqeto.kodi
Being able to assign controllers to specific emulated ports would be a great addition. I recall some mock ups that worked like the old EA sports games where you moved your controllers to the team you wanted to be a player for.
@
Taskr36 Can you try my latest test builds (2023-07-09)? I
PRed a fix that restores the Matrix behavior for controller assignments.
I also added a "Player Viewer" so you can visualize the current mapping. It's basically my current working progress of the Player Manager but without the "management" and only the ability to view the current assignment.
Sorry about the late response. I just tried it today and it works perfectly. Once again, thank you so much for all the hard work you put into this!