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

    How to use Joystick as a mouse? Ports Edition.

    Scheduled Pinned Locked Moved Help and Support
    portsfallout 2gamepadmousejoystick
    25 Posts 6 Posters 2.1k 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.
    • S
      sleve_mcdichael @Fenderus
      last edited by sleve_mcdichael

      @Fenderus

      --evdev /dev/input/event0
      

      Missing a \ backslash here, could that sort you out?

      F 2 Replies Last reply Reply Quote 0
      • F
        Fenderus @sleve_mcdichael
        last edited by Fenderus

        @sleve_mcdichael It launched normally, but the controls did not work.

        Also, does /dev/input/by-id/ exist when there are multiple controllers? Because the directory didn't exist when I typed:

        ls /dev/input/by-id/
        
        1 Reply Last reply Reply Quote 0
        • F
          Fenderus @sleve_mcdichael
          last edited by

          @sleve_mcdichael Found the Problem, apparently, I don't know what the ENTER key is, found the problem on the /dev/shm/runcommand.log file:

          fallout2
          fallout2
          
          /opt/retropie/ports/fallout2/fallout2.sh
          xboxdrv: no process found
          
          -- [ ERROR ] ------------------------------------------------------
          error: invalid argument '--ui-buttonmap a=BTN_LEFT,b=BTN_RIGHT,x=KEY_RETURN,y=K$couldn't convert 'KEY_RETURN' to enum, not a member of EV_KEY
          
          Parameters:
          Executing: /opt/retropie/ports/fallout2/fallout2.sh
          
          N 1 Reply Last reply Reply Quote 1
          • N
            Nash @Fenderus
            last edited by Nash

            @Fenderus

            Try KEY_ENTER

            You can see all KEY_ accepted by xboxdrv with the command xboxdrv --help-key

            If you have 2 joysticks on your gamepad you can map the mouse too on x2 and y2 with smaller REL values. In game you can be more precise with this second joystick if needed.

            F 1 Reply Last reply Reply Quote 0
            • F Fenderus referenced this topic on
            • F
              Fenderus @Nash
              last edited by

              @Nash does xboxdrv have hotkeys, turbo, and toggle settings like antimicrox?

              Made a post here: https://retropie.org.uk/forum/topic/35784/does-xboxdrv-have-hotkeys-turbo-and-toggle-settings-like-antimicrox

              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.