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.
-
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 justnano mywminput
(either locally in the console after exiting EmulationStation with F4 or the menu, or viassh
), 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 runpkill wminput
thenattachwii.sh
in the console, either locally or overssh
.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.
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.