RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    8bitdo fc30 pro does not work in kodi

    Scheduled Pinned Locked Moved Help and Support
    21 Posts 4 Posters 9.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rt
      last edited by

      yeah my bad for the lack of detail. here is my joystick.xml.

      http://pastebin.com/29Y62710

      i don't have any issues with the buttons but the dpad and thumbsticks have issues. the only directions that work are up and left on the thumbsticks. not sure if the kodi log is gonna help as it seems kodi doesn't log thumbstick inputs but you can view it at

      http://pastebin.com/tXyXaQuT

      as you can see the hat/dpad inputs are logged but nothing occurs. what is weird is that my wired usb snes controller works without any issues.

      i was assuming the following bug fix from a different developer is the issue

      https://github.com/recalbox/recalbox-configgen/commit/2605e90d19d878298b16cf12aad99156a6bb163e
      https://github.com/recalbox/recalbox-configgen/commit/e076537c3694103f50f5944ec918e7e21ea297da

      let me know if you need more details.

      1 Reply Last reply Reply Quote 0
      • RascasR
        Rascas
        last edited by Rascas

        Your keymap seems good, in the log the joystick is detected but it doesn't seem to be working fine, too many key repeats. That commits don't apply to RetroPie and this Kodi version, it's not that. Probably a bug with only that joystick, likely something related to hats axes in SDL. I will take a look at it on the next Kodi version.
        In the meantime if you can't fix it by edditing keymap.xml, disable the hats in the xml, than the d-pad should work fine.

        R 1 Reply Last reply Reply Quote 0
        • R
          rt @Rascas
          last edited by

          @Rascas thank you so far for you assistance. I tried commenting out the "hat id" stuff but i am still not able to use the dpad in kodi.

          i am assuming you are a busy person so you will be looking deeper into the issue when you get some time but do you happen to a have a ballpark estimate of when you will look into it?

          1 Reply Last reply Reply Quote 0
          • RascasR
            Rascas
            last edited by Rascas

            You have to comment all the axis unless the d-pad one. Take a look of some working examples here:
            https://github.com/xbmc/xbmc/tree/Jarvis/system/keymaps
            https://github.com/HerbFargus/kodi-joypads/tree/master/keymaps
            I will take a look when next Kodi version comes out, 16.2.

            R 1 Reply Last reply Reply Quote 0
            • R
              rt @Rascas
              last edited by

              @Rascas i c right on. i'll try and compile from source to see if the issue persist.

              1 Reply Last reply Reply Quote 0
              • RascasR
                Rascas
                last edited by Rascas

                There is no joystick support in Kodi 16 official source code for the Raspberry Pi, it will have only on 17. I backported the code to 16.

                mediamogulM 1 Reply Last reply Reply Quote 0
                • mediamogulM
                  mediamogul Global Moderator @Rascas
                  last edited by

                  @Rascas

                  Ahh, you backported Garbear's code from Krypton! Sweet deal. I've been anxious to give that a go. I might try it out this evening. Obviously it's a very early incarnation, but it looks to be a huge improvement from what came before. I'm sure all of Retroplayer will be very impressive when it's complete. They really seem to be dotting all the lower case "j"s.

                  RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                  1 Reply Last reply Reply Quote 0
                  • RascasR
                    Rascas
                    last edited by Rascas

                    I have a Kodi 17 Krypton build available, it is working fine for me but I didn't have tested it much. The joysticks don't work as good as in Kodi 16, but might work for @rt .

                    If you want to test it, edit /etc/apt/sources.list.d/pipplware.list and add this for Pi 2 and 3 (ARMv7):

                    deb http://dl.bintray.com/pipplware/dists/unstable/armv7/binary/ /
                    

                    Or this for RPi 1 (ARMv6):

                    deb http://dl.bintray.com/pipplware/dists/unstable/main/binary/ /
                    

                    And update and upgrade:

                    sudo apt-get update && sudo apt-get dist-upgrade
                    
                    1 Reply Last reply Reply Quote 0
                    • mediamogulM
                      mediamogul Global Moderator
                      last edited by mediamogul

                      OK, thanks. I just hope that running RetroPlayer in Kodi through a RetroPie distribution doesn't somehow create Skynet or anything.

                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                      1 Reply Last reply Reply Quote 0
                      • RascasR
                        Rascas
                        last edited by Rascas

                        RetroPlayer isn't part of Kodi 17 Krypton already, only the joystick module/addon, at least at the time I compiled it. I think it will be only on the next version.
                        But when it became part of Kodi, there shouldn't be any conflict with RetroPie.

                        mediamogulM R 3 Replies Last reply Reply Quote 0
                        • mediamogulM
                          mediamogul Global Moderator @Rascas
                          last edited by

                          @Rascas

                          Good to know. I could barely follow Genisys. I don't need that same aggravation from my gaming console. Thanks for your work with this. I look forward to trying it out.

                          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                          1 Reply Last reply Reply Quote 1
                          • R
                            rt @Rascas
                            last edited by

                            @Rascas ahh it looks like i only saw a part of your message and didn't see the whole "comment all the axis". i tried removing both the axis and hats(also tried just commenting out the axis) and still had issues. I'll try and install kodi from your unstable repo. and will update you accordingly. thanks again.

                            1 Reply Last reply Reply Quote 0
                            • R
                              rt @Rascas
                              last edited by

                              @Rascas I was able to upgrade to 17.

                              root@raspberrypi:/opt/temp/peripheral.joystick# dpkg -l|grep kodi
                              ii kodi 2:17.0~git20160313.188ff0e-4~jessie all Kodi Media Center (arch-independent data package)
                              ii kodi-bin 2:17.0~git20160313.188ff0e-4~jessie armhf Kodi Media Center (binary data package)
                              root@raspberrypi:/opt/temp/peripheral.joystick#

                              however it looks like kodi doesn't recognize any of my controllers(usb and bluetooth) as "Configure attached controllers" is greyed out. Is there something else I need to do to get my controller recognized by kodi?

                              1 Reply Last reply Reply Quote 0
                              • RascasR
                                Rascas
                                last edited by Rascas

                                In Kodi 16, you were suposed to configure only the d-pad, so only 4 axis lines with the corresponding ids of your d-pad. Something like this:
                                https://github.com/HerbFargus/kodi-joypads/blob/master/keymaps/retrolinksnes.xml

                                In Kodi 17 you have to activate the Joystick Support in the peripheral addons. If after that your joystick still doesn't work, you have to report it upstream since I didn't touch the joystick support in Kodi 17.

                                R 1 Reply Last reply Reply Quote 0
                                • theroamerT
                                  theroamer
                                  last edited by theroamer

                                  I've made some progress with the 8bitdo in kodi, I'm at a point where it's functional, but definitely not working the right way. The major problem is that it seems like only left and up work on either analog stick. I haven't got the dpad to work at all.

                                  My specs:
                                  Retropie 3.7
                                  8bitdo NES30 Pro w/ firmware 1.68

                                  • Mode 1 (power button only - works well for me in most emulators)
                                    Kodi 16.1 installed from RP install script

                                  Basically I've got it so with this joystick config, I can navigate L, R, U, D,select and go back. The downside is it's weird. The left stick works to go left and up, the right stick works to go right and down, but to go right you actually have to push left on the right stick. and to go down, you push up on the right stick. The X and Y buttons work I just left them unbound for now while I try to get directionals working. Also L2 is set to exit kodi.

                                  Left and Up are the only 2 positions on each stick that I have been able to get functional in Kodi. It doesn't seem like any positive axis values or id's work at all.

                                  Here's my ~/.kodi/userdata/keymaps/joystick.xml

                                  <keymap>
                                  <global>
                                  <joystick name="8Bitdo NES30 Pro">
                                  <button id="9">Quit</button><!--LEFTSHOULDER-MIDDLE-->
                                  <button id="1">Select</button><!--A BUTTON-->
                                  <button id="2">Back</button><!--B BUTTON-->
                                  <axis id="3" limit="-1">Right</axis><!--RIGHT-->
                                  <axis id="1" limit="-1">Left</axis><!--LEFT-->
                                  <axis id="2" limit="-1">Up</axis><!--UP-->
                                  <axis id="4" limit="-1">Down</axis><!--DOWN-->
                                  </joystick>
                                  </global>
                                  </keymap>

                                  Here is my evtest output if it helps anyone:
                                  http://pastebin.com/UcPHKvYn

                                  Running out of ideas, I've tried all sorts of different combos to get them to work.

                                  RascasR R 2 Replies Last reply Reply Quote 0
                                  • RascasR
                                    Rascas
                                    last edited by

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • RascasR
                                      Rascas @theroamer
                                      last edited by

                                      @theroamer Can you test with latest Open/LibreELEC, Kodi 17 ?

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        rt @theroamer
                                        last edited by

                                        @theroamer yup same problem with me. i can get this half baked setup where i use up and left only to navigate the menu but for whatever reason positive axis limits don't work at all. and no matter what i do i can't get the dpad to work at all.

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          rt @Rascas
                                          last edited by

                                          @Rascas said in 8bitdo fc30 pro does not work in kodi:

                                          In Kodi 16, you were suposed to configure only the d-pad, so only 4 axis lines with the corresponding ids of your d-pad. Something like this:
                                          https://github.com/HerbFargus/kodi-joypads/blob/master/keymaps/retrolinksnes.xml

                                          In Kodi 17 you have to activate the Joystick Support in the peripheral addons. If after that your joystick still doesn't work, you have to report it upstream since I didn't touch the joystick support in Kodi 17.

                                          sorry for taking for ever to try this stuff out just been a little busy.

                                          in kodi 16 i have tried every single combination of axis and still was not able to get the dpad to work. i may just wait until version 16.2 as i can still navigate through the menu even though it's not ideal.

                                          in kodi 17, the peripheral addon for joystick was enabled but the "configuration attached controllers" is still greyed out. I guess i'll have to report it upstream.

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post

                                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.