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

    [Solution] How to use Gamepad/Joystick in PIXEL (lxde) instead of Mouse/Keyboard

    Scheduled Pinned Locked Moved Help and Support
    gamepad configgamepad controlmouse remappingmapping keys
    3 Posts 3 Posters 1.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.
    • R
      Ramez
      last edited by

      Greetings...
      In conclusion to a hard search to replace mouse and keyboard with my usb gamepad, [it would be really cool to full control Retropie and desktop with only joystick (^_^) ] Here is the solution that works in latest Retropie and Stretch distro.

      First, install the Joystick input driver package:
      sudo apt-get install joystick
      Next, install the Joystick Configuration package:
      sudo apt-get install jstest-gtk
      now run jstest-gtk to test and calibrate your gamepad input
      next you need to install QJoyPad
      sudo apt-get install qjoypad
      then run it by typing qjoypad
      and start adding button mapping's simply by clicking "Quick Set" or please refer to documentation page for full understanding of all options/features

      now we need to make it run automatically at every boot using many methods,One of them is:
      1- Create a new file called qpad.desktop containing that code

      [Desktop Entry]
      Name=qpad
      Comment=Type any comment
      Icon=/icon/directory//here/itsname.png
      Exec=qjoypad
      Type=Application
      Encoding=UTF-8
      Terminal=false
      Categories=None;
      

      2- Save it and move that file to /home/pi/.config/autostart then restart.

      Enjoy :)

      references:
      http://airbornesurfer.com/2015/04/how-to-setup-a-generic-joystick-or-gamepad-in-ubuntu-linux/
      https://www.howtoforge.com/tutorial/how-to-configure-your-gamepad-on-ubuntu/
      ............................................
      @madmodder123 check this, hope it helped

      1 Reply Last reply Reply Quote 2
      • N
        notthesame
        last edited by

        Thanks for this info, glad you brought this up, got it running thanks.

        I can use my virtual keyboard to type on my desktop now :)

        1 Reply Last reply Reply Quote 0
        • S
          SashaAntipov
          last edited by

          Thank you! Worked for me

          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.