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

    Kodi Controller Support, certain emulators controller doesn't work

    Scheduled Pinned Locked Moved Help and Support
    8 Posts 4 Posters 12.9k 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.
    • M
      Moco
      last edited by

      Hello, I have 2 problems.

      #1 - Getting Kodi to work with a controller
      I have to use a mouse to work with kodi because nothing happens when I try to use my controller. Is there a way to make it work?

      #2 - Some emulators do not work with my controller
      I'm using an xbox 360 controller and some systems run just fine but yesterday I installed a new system and it doesn't work. (other systems still work fine)

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • H
        Hellcube
        last edited by

        #1 new retropie 3.7 have kodi 1.6 with controller support, but you still have to make map files manaually.
        #2 which emulators don't work be more acurate.

        1 Reply Last reply Reply Quote 0
        • AddisonA
          Addison
          last edited by

          Hi.

          I've followed the directions here:
          https://github.com/retropie/retropie-setup/wiki/KODI

          I skipped over the part of "For more advanced users the following is another method that you can use to set kodi as its own system." since it was a bit too confusing.

          Anyway, using SSH, I typed in
          cat > joystick.xml

          I then pasted this and pressed CTRL-D.

          <?xml version="1.0" encoding="UTF-8"?>
          <keymap>
          <global>
          <joystick name="USB,2-axis 8-button gamepad "><!--iBuffalo SNES-->
          <button id="1">Select</button><!--A-->
          <button id="2">Back</button><!--B-->
          <button id="3">Stop</button><!--X-->
          <button id="4">ContextMenu</button><!--Y-->
          <button id="5">Rewind</button><!--L-->
          <button id="6">FastForward</button><!--R-->
          <button id="7">Info</button><!--SELECT-->
          <button id="8">PlayPause</button><!--START-->
          <button id="7,8">Quit</button><!--SELECT+START-->
          <axis id="1" limit="+1">Right</axis><!--RIGHT-->
          <axis id="1" limit="-1">Left</axis><!--LEFT-->
          <axis id="2" limit="-1">Up</axis><!--UP-->
          <axis id="2" limit="+1">Down</axis><!--DOWN-->
          </joystick>
          </global>
          </keymap>

          My iBuffalo controller does nothing with Kodi.

          Do I perhaps have the wrong permissions with that joystick.xml file?

          I'd really like to use WinSCP but /home/pi/.kodi doesn't show up for me as a directory, I can only see this using the command line when I SSH into my Pi.

          This what I'm seeing if I type in sudo nano /home/pi/.kodi/userdata/keymaps/joystick.xml

          alt text

          I don't understand what I've done wrong.

          Please help.

          1 Reply Last reply Reply Quote 0
          • AddisonA
            Addison
            last edited by

            Okay, so I did this:

            mv joystick.xml ibufallo.xml

            Still nothing.

            I just don't get it.

            1 Reply Last reply Reply Quote 0
            • W
              wetriner
              last edited by

              What is the output when you run kodi --version in the terminal? If it isn't 16.0, joystick keymaps won't work. You'll have to remove kodi, update your setup script and reinstall.

              1 Reply Last reply Reply Quote 1
              • AddisonA
                Addison
                last edited by

                15.2 Git:02e7013 Media Center Kodi
                Copyright (C) 2005-2013 Team Kodi - http://kodi.tv

                I'm not sure why though.

                I just downloaded retropie-v3.7-rpi2 and even did an update tonight.

                So how do I get the latest Kodi version?

                I thought I did when I downloaded it two hours ago from the experimental packages available.

                1 Reply Last reply Reply Quote 0
                • W
                  wetriner
                  last edited by

                  Updating the setup script in RetroPie-Setup should do it, but to make sure. Compare the contents of the file kodi.sh in /home/pi/RetroPie-Setup/scriptmodules/ports/ with the github version and you'll have to use sudo apt-get remove kodi before installing again.

                  1 Reply Last reply Reply Quote 1
                  • AddisonA
                    Addison
                    last edited by

                    Omygosh!

                    I can't even begin to thank you enough Wetriner!

                    I finally can use my SNES controller with Kobi because of you.

                    So happy!

                    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.