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

    Joystick as mouse on desktop

    Scheduled Pinned Locked Moved Help and Support
    mousejoystick mappincontroller maplxde desktoplxde
    4 Posts 1 Posters 3.0k 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.
    • madmodder123M
      madmodder123
      last edited by

      Can I use my joystick as a mouse in the LXDE desktop environment? Thank you for your time :)

      Pi Model: 3
      RetroPie Version Used: 4.1
      Controller used: PS3 Dualshock Sixaxis

      1 Reply Last reply Reply Quote 0
      • madmodder123M
        madmodder123
        last edited by

        http://blog.petrockblock.com/forums/topic/mapping-a-game-controller-in-kodi/
        http://askubuntu.com/questions/114895/how-can-a-gamepad-control-the-mouse
        https://github.com/AntiMicro/antimicro

        Here are a list of options for this, I will be updating this thread when I get one figured out for my controller :)

        1 Reply Last reply Reply Quote 1
        • madmodder123M
          madmodder123
          last edited by

          I tried antimicro and had it installed but it wasn't functioning properly.

          I finally succeded after entering the following and rebooting
          sudo apt-get install xserver-xorg-input-joystick

          Left stick acts as the mouse
          Right stick acts as the mouse wheel
          Select acts as left click
          R3 acts as right click
          L3 acts as mouse wheel click

          Then just add a shortcut to the virtual keyboard on the desktop for convenience

          Enjoy

          1 Reply Last reply Reply Quote 0
          • madmodder123M
            madmodder123
            last edited by

            The default virtual keyboard (matchbox-keyboard) has an issue where the desktop becomes unresponsive while the keyboard is open, so use xvkbd instead. I'll edit this post with instructions later

            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.