Wii classic controllers
#1
Good afternoon,

I am running Leia 18.5 on RPi3 with Librelec.  I have Retroplayer running and a few test ROMs.  But I have a question about the game controllers.

I have a Wii with a set of Wii remotes and classic controllers that I was hoping to re-purpose as Kodi emulator game controllers.  For those that do not know, the classic controllers are the ones that plug into the Wii remote and resemble the old SNES controllers.  I have been able to set up the Wii remote to control Kodi just fine.  The problem is that when I go to configure the game controllers, the only button on the classic controller that seems to register with Kodi is the directional pad.  Neither the joysticks or any other buttons on the classic controller seem to do anything.

I have been doing a bunch of searching of the Kodi wiki and this forum, but I can't seem to find anything that can help me.  From what I understand, it seems that the Wii classic controllers are not supported by Retroplayer "out of the box", but there are allusions to the fact that you can get other controllers to work with it.  I just really don't know what's involved or where to start - is there a reference online that I should check out?

I'm not a Linux guy per se but I have a lot of coding experience in other languages.  I'm comfortable with SSH and command-line syntax, I just really need someone to point me in the right direction.  I realize I could just go out and buy a bunch of controllers that are compatible with Retroplayer, but the point was to try to use something that I already have lying around the house.  If there's a relatively easy way to get what I have to work, I'm willing to try.

Thanks so much in advance.  And thanks to all of you who volunteer your time and advice supporting Kodi.
Reply
#2
(2020-01-31, 21:52)MovieGuy2 Wrote: Good afternoon,

I am running Leia 18.5 on RPi3 with Librelec.  I have Retroplayer running and a few test ROMs.  But I have a question about the game controllers.

I have a Wii with a set of Wii remotes and classic controllers that I was hoping to re-purpose as Kodi emulator game controllers.  For those that do not know, the classic controllers are the ones that plug into the Wii remote and resemble the old SNES controllers.  I have been able to set up the Wii remote to control Kodi just fine.  The problem is that when I go to configure the game controllers, the only button on the classic controller that seems to register with Kodi is the directional pad.  Neither the joysticks or any other buttons on the classic controller seem to do anything.

I have been doing a bunch of searching of the Kodi wiki and this forum, but I can't seem to find anything that can help me.  From what I understand, it seems that the Wii classic controllers are not supported by Retroplayer "out of the box", but there are allusions to the fact that you can get other controllers to work with it.  I just really don't know what's involved or where to start - is there a reference online that I should check out?

I'm not a Linux guy per se but I have a lot of coding experience in other languages.  I'm comfortable with SSH and command-line syntax, I just really need someone to point me in the right direction.  I realize I could just go out and buy a bunch of controllers that are compatible with Retroplayer, but the point was to try to use something that I already have lying around the house.  If there's a relatively easy way to get what I have to work, I'm willing to try.

Thanks so much in advance.  And thanks to all of you who volunteer your time and advice supporting Kodi.

i am no expert, please disregard this if it doesn't help.

i had  a similar issue with some cheap wifi controllers
where basically a, b, x, y buttons were not recognised
in my case i had to ssh into libreelec and edit  .kodi/userdata/addon_data/peripheral.joystick/resources/buttonmaps/xml/linu
x/Gasia_Co._Ltd_PS_R__Gamepad_12b_7a.xml
Note: "Gasia_Co..." is how the system recognises my gamepad, so yours might be different
i ended up adding the entries for these buttons directly into the joystick xml


for reference this is how the controller part of the file looks now (a,b,x,y were missing) :
make a backup before editing ;-)
Code:
       <controller id="game.controller.default">
            <feature name="a" button="2" />
            <feature name="b" button="1" />
            <feature name="x" button="3" />
            <feature name="y" button="0" />
            <feature name="back" button="8" />
            <feature name="down" axis="+1" />
            <feature name="left" axis="-0" />
            <feature name="leftbumper" button="4" />
            <feature name="leftstick">
                <up axis="-5" />
                <down axis="+5" />
                <right axis="+4" />
                <left axis="-4" />
            </feature>
            <feature name="leftthumb" button="10" />
            <feature name="lefttrigger" button="6" />
            <feature name="right" axis="+0" />
            <feature name="rightbumper" button="5" />
            <feature name="rightthumb" button="11" />
            <feature name="righttrigger" button="7" />
            <feature name="start" button="9" />
            <feature name="up" axis="-1" />
        </controller>

 




hope this helps
M
Reply
#3
Hi MovieGuy2,

I'm the dev behind the current joystick system. I've uploaded several guides to the wiki: Game_controllers (wiki) . If your controller is missing a button map (e.g. it would appear at .kodi/userdata/addon_data/peripheral.joystick/resources/buttonmaps/xml/linux, create one and share it here (see HOW-TO:Share_button_maps (wiki) ). If you're quick, I'll include the button map in the 18.6 release so that Wii Classic controllers work out-of-the-box.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Wii classic controllers00