Wiimote Classic Controller; missing buttons in config
-
Pi Model or other hardware: Pi3 B+
Power Supply used: Canakit 5v 2.4A
RetroPie Version Used: 4.1 from GitHub
Built From: Premade SD image (retropie-4.1-rpi2_rpi3.img.gz)
USB Devices connected: Xbox Wireless receiver for PC
Controller used: Xbox360, Wiimote
Guide used: https://github.com/retropie/retropie-setup/wiki/Wiimotes-with-classic-controllers
Attachment of config files:
Method 1 (using wminput and cwiid):
pastebin.com/embed_js/dk8zn41BMethod 2 (using MoltenGamepad):
pastebin.com/embed_js/VeBs4FKNHello, all. Apologies if this has been addressed before. I searched both Google and this forum and could not find the solution I was looking for. Additionally, I am VERY new to all of this; I got my Pi as an X-Mas present 2 months ago, sorry for the "noob-ness". That being said:
How to replicate the problem: (sorry for the lengthiness, want to be THOROUGH)
Before making any changes to my Pi, I used win32diskimager to make a backup of my current RetroPie state. Using the above-mentioned guide, I started Method 1, but did not complete it thoroughly. I skipped the updating as I had the latest build and went right to installation. Frome there I followed the steps completely until the "Correct usage of wminput" section where I used Notepad to write pastebin.com/embed_js/WtdaJEXT from the "Update:" section. At the time, I did not understand how to create the "attachwii.sh" file using OPTION A so I used OPTION B instead. Again, being a noob, could not figure out how to complete the "Register Wiimotes Before Emulationstation Starts" step because I could not edit the "...10-retropie.sh". When rebooted; Wiimote connected to Pi, EmulationStation then saw it as a KEYBOARD and only D-Pad worked...FAIL! Since this was the case I stopped Method 1 and did nothing to RetroArch, etc.
So, without changing anything else, I then proceeded to try Method 2. The step-by-step was much more thorough and Sucess! However, EmulationStation sees it as Virtual Gamepad (MoltenGamepad) and when mapping the buttons in the EmulationStation controller setup, I noticed it did not recognize the LZ and RZ buttons when trying to map them to the Left/Right Triggers. Frustrated, I tried updating the Pi using "sudo ./retropie_setup.sh" thinking I am missing something. Somehow I bricked my Pi. Time to start over.
I reloaded my SD card with my backup image and tried again. This time after 2 days of searching the internet and educating myself a bit more, I was able to use the PROPER commanded to complete Method 1 correctly. My noob self didn't thin to use the "mkdir /home/pi/bin" and "nano /home/pi/bin/attachwii.sh" commands to write the "attachwii.sh" file in Option A and then use the "sudo nano" command to edit the "/etc/profile.d/10-retropie.sh" file. Sucess!! Wiimote connects to Pi and Emulation Station now sees it as NintendoWiimote in controller setup, not KEYBOARD, however, this time when mapping the buttons in the EmulationStation controller setup, I noticed it did not recognize the Left & Right Thumb Sticks but now detects the LZ/RZ buttons. SMH
I decided to compare the controller configs written and stored in "/home/pi/.emulationstation" (listed above) and noticed when using Method 1 the D-Pad is mapped to +/-0 & +/-1 which according to Method 2 is the Left Thumbstick (proven when trying to play n64 games). Comparing further, I find the labels for the Right thumb stick and the D-Pad. I then tried to write my own config files to be used instead, thinking I could merge the 2 together to fix the problem. FAIL!
Method 1
pastebin.com/embed_js/bAujVb6QMethod 2
pastebin.com/embed_js/p8vjV49aDoes anyone have a solution or something to try? I have Xbox360 controllers working successfully and am happy with them, but my wife is not. She is most familiar with SNES, so I wanted to get this working for her. Worst case scenario, I will keep what is working and we can use the Wiimote for Atari thru SNES/Genisis and stick to Xbox COntroller for PSX/N64, but would really like to have FULL capability with ALL controllers.
Thanks in advance!!
-
@xxxARCH3Rxxx buy a mayflash dolphin bar. It makes all wiimotes and controllers work including using it as a light gun in mame. It will save you the headache.
-
@edmaul69 NoWay! That sounds awesome, especially since I already own a WiiZapper.
If I purchase this...what is the best method for installation? Restore my SD card to my backup image, plug in dolphin bar to usb port, done? Or do I need to do one of the Wiimotes with classic controllers Methods to pair first?
Also, will this also alow me to play games like Duck Hunt on NES and Time Crisis on PSX? Or does this only work with MAME?
-
@xxxARCH3Rxxx plug it in. Sync your wiimotes to it. You need to go and undo everything you just did though. So it doesnt have any conflicts.
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.