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

    Trying to get a Wii fightstick working through xboxdrv, help needed.

    Scheduled Pinned Locked Moved Help and Support
    xboxdrv
    4 Posts 2 Posters 344 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.
    • MapleStoryM
      MapleStory
      last edited by MapleStory

      On 4.4, fresh installed a month ago. When attempting to configure controls of the fightstick in emulationstation, every button works and can be mapped except the L and R buttons, as they're picked up as analog inputs/triggers. Both evtest and jstest confirm that all buttons are detected and work. I went ahead and installed xboxdrv from retropie-setup (followed by disabling xboxdrv as stated in the guide) to try and get those two buttons working but it didn't pan out that way, despite carefully following the guide. I set up all the buttons accordingly. Here's what my rc.local file looks like:

      #!/bin/sh -e
      #
      # rc.local
      #
      # This script is executed at the end of each multiuser runlevel.
      # Make sure that the script will "exit 0" on success or any other
      # value on error.
      #
      # In order to enable or disable this script just change the execution
      # bits.
      #
      # By default this script does nothing.
      
      # Print the IP address
      _IP=$(hostname -I) || true
      if [ "$_IP" ]; then
        printf "My IP address is %s\n" "$_IP"
      fi
      sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv \
      	--evdev /dev/input/by-id/usb-Mayflash._Ltd_Mayflash_Wii_Classic_Controller-event-joystick \
      	--silent \
      	--detach-kernel-driver \
      	--force-feedback \
      	--deadzone-trigger 15% \
      	--deadzone 4000 \
      	--trigger-as-button \
      	--mimic-xpad \
      	--evdev-absmap ABS_HAT0X=dpad_x,ABS_HAT0Y=dpad_y,ABS_THROTTLE=lt,ABS_RUDDER=rt \
      	--evdev-keymap BTN_THUMB=a,BTN_TRIGGER=b,BTN_TOP=x,BTN_THUMB2=y,BTN_BASE=lb,BTN_BASE2=rb,BTN_BASE5=guide,BTN_BASE3=back,BTN_BASE4=start \
      	--dpad-only \
      	--ui-buttonmap tl=void,tr=void \
      	&
      exit 0
      

      I'm at a loss into what I'm doing wrong. Also, emulationstation picks up 2 controllers connected when attempting to configure controls, even if the keyboard is the only device connected. Any help would be greatly appreciated

      1 Reply Last reply Reply Quote 0
      • edmaul69E
        edmaul69
        last edited by

        What adapter are you using for wii fightstick and which wii fightstick are you using?

        MapleStoryM 1 Reply Last reply Reply Quote 0
        • MapleStoryM
          MapleStory @edmaul69
          last edited by MapleStory

          @edmaul69

          Adapter: http://www.mayflash.com/products/pcusb/pc045.html

          Mad Catz Tatsunoko vs. Capcom fightstick.

          The adapter/stick combination works perfectly under Windows and PS4. Both jstest and evtest have no problems displaying that all buttons and directions work.

          edmaul69E 1 Reply Last reply Reply Quote 0
          • edmaul69E
            edmaul69 @MapleStory
            last edited by

            @MapleStory i have that stick and a different mayflash adapter. I will test them when i get home.

            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.