RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    If you followed Method 1 of the Wiimote Controllers guide before February 12, 2018, you should update your config to fix your d-pad and analog sticks.

    Scheduled Pinned Locked Moved General Discussion and Gaming
    wiimotecontrollersanalog sticks
    1 Posts 1 Posters 609 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.
    • V
      Vague Rant
      last edited by

      After following the Wiimote Controller guide from the wiki, I found that the analog sticks on my Classic Controllers weren't functioning within EmulationStation or emulated systems. This wasn't really a big deal for me because so far I haven't even been playing any games with analog controls, but I just got around to solving it.

      The short version is that the config on the wiki was mapping the d-pad as an analog stick (which "worked" but is unnecessary) and the analog sticks as hat switches (digital, on-or-off "d-pads"), which RetroPie didn't seem to understand and which wouldn't give you analog control if you did manage to successfully configure it. Also, the wiki guide had flipped up/down input on the D-Pad, which didn't affect anything that used libretro button layouts, but would show up in non-libretro emulators like VICE or in the terminal config menus.

      I've already updated the wiki with this fix, but figured people who already set their Wiimotes up probably wouldn't notice it changing. For anyone who's already got things set up and needs to apply this fix themselves, the changes are in /home/pi/mywminput, assuming you followed the guide. You should be able to edit this file with just nano mywminput (either locally in the console after exiting EmulationStation with F4 or the menu, or via ssh), since it's in your home directory. These are the changed lines:

      Classic.Dpad.X = ABS_HAT0X
      Classic.Dpad.Y = -ABS_HAT0Y
      Classic.LStick.X = ABS_X
      Classic.LStick.Y = -ABS_Y
      Classic.RStick.X = ABS_RX
      Classic.RStick.Y = -ABS_RY
      

      After saving the file, you'll need to make sure wminput gets restarted to take advantage of the corrected layout. Rebooting the Pi (not just EmulationStation) is the simplest way to go about this; if you're resistant to that, you should be able to run pkill wminput then attachwii.sh in the console, either locally or over ssh.

      N.B. If you have any customized hotkeys set up for the Wiimote in /opt/retropie/configs/all/retroarch-joypads/, these will be removed in the next step when you reconfigure. You may want to make a copy of the Wiimote's .cfg file so that you can reinstate your changes later. Don't just put your original file back after reconfiguring, though. That defeats the whole purpose of reconfiguring!

      You'll now need to configure your controller again in EmulationStation (press Start, scroll down to Configure Input, press A then hold any button on the Classic Controller). As a stroke of good luck, you can do all this on the Classic Controller itself, because the old config treated your d-pad as a "left analog stick". You'll just need to use the left joystick to navigate EmulationStation until you get the reconfiguration done.

      Once you're finished with that, you should be all done.

      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.