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

    Need help configuring xboxdrv with xboxdrv + sorr + sixaxis

    Scheduled Pinned Locked Moved Help and Support
    xboxdrvsixaxissorr
    1 Posts 1 Posters 617 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.
    • N
      nimp
      last edited by

      Hello,

      I'm drowning in documentation, and after hours of testing I can't do what I want.
      Anybody who tried it will understand : I want to play Streets of Rage Remake with the DPAD, but by default the game detects the analog stick as the first axis, and the game doesn't allow me to redefine it.
      I do realise that xboxdrv is a great tool, and I did found how to map square, triangle, cross, round... but I can't find a way to do that simple thing.
      Tried joy2key with no luck, there may be something around gamecontrollerdb but I don't know...

      Well, it seems that the former non-trivial way to use a sixaxis with a computer did much harm and that xbox360 controllers is THE controller to use with a computer, and sadly it looks like just EVERYBODY uses it.

      At this point I have :

      #!/bin/sh
      #--silent
      #--force-feedback
      #--evdev-absmap ABS_X-=,ABS_X+=DPAD_X+,ABS_Y-=DPAD_Y-,ABS_Y+=DPAD_Y+
      #--trigger-as-button
      #>/dev/null \
      #--evdev-keymap KEY_#302=a,KEY_#301=b,BTN_DEAD=x,KEY_#300=y,BTN_THUMB=tl,BTN_THUMB2=tr,BTN_BASE5=lb,BTN_BASE6=rb,BTN_BASE3=lt,BTN_BASE4=rt,BTN_TRIGGER=back,BTN_TOP=start,BTN_SOUTH=guide,BTN_TOP2=du,BTN_PINKIE=dr,BTN_BASE=dd,BTN_BASE2=dl
      #--dpad-only
      #--dpad-as-button \

      sudo /usr/local/bin/xboxdrv --evdev /dev/input/event3
      --detach-kernel-driver
      --mimic-xpad
      --axismap Y1=DPAD_Y,X1=DPAD_X
      --evdev-keymap KEY_#301=a,KEY_#302=b,KEY_#300=x,KEY_#303=y,KEY_#290=tr,KEY_#289=tl,KEY_#291=start,KEY_#288=back,KEY_#704=guide,KEY_#299=rb,KEY_#297=rt,KEY_#298=lb,KEY_#296=lt

      This last one doesn't work, but at this point I'm not really what to try

      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.