This group of scripts simply enables your RetroPie box to light up the lights correctly when you are using either Wii Controllers or Wii U Pro Controllers (I have 3 of these and they rock !)
This script expects to live in /home/pi/retropie_wiimote_lights. See below for moving it elsewhere
Login to your Retropie box as the 'pi' user and simply run:
(cd && git clone http://github.com/pyhammond/retropie_wiimote_lights)
Once your git clone is finished, simply run this command to install to retropie:
(cd ~/retropie_wiimote_lights && ./install.sh)
The install script will ask you to choose from 4 options. The definition of these options is as follows:
-
Internal Bluetooth Controller - multiple lights on
Choose this if you are using the Internal Rasp Pi 3 Bluetooth Controller and you want:
2 lights to light up for the 2nd user,
3 lights to light up for the 3rd user, etc. -
External Bluetooth Controller - multiple lights on
Choose this if you are using an External Bluetooth Dongle and you want:
2 lights to light up for the 2nd user,
3 lights to light up for the 3rd user, etc. -
Internal Bluetooth Controller - single light
Choose this if you are using the Internal Rasp Pi 3 Bluetooth Controller and you want:
the 2nd light (only the 2nd light alone) to light up for the 2nd user,
the 3rd light (only the 3rd light alone) to light up for the 3rd user, etc. -
External Bluetooth Controller - single light
Choose this if you are using an External Bluetooth Dongle and you want:
the 2nd light (only the 2nd light alone) to light up for the 2nd user,
the 3rd light (only the 3rd light alone) to light up for the 3rd user, etc.
After you've made your choice and the install script is done, you can reboot to see this all work in action.
This is known to work well with RetroPie v4.2 and above.
They should work well with either normal Wii Controllers or Wii U Pro Controllers.
These are the Wii U Pro controllers I wrote them for: https://ebay.com/itm/112568890143
-
If you need to change the path of where these scripts live, you should only need to edit 1 file: wii-controller.service. Just change the line with ExecStart on it.
-
If you are annoyed by waiting 2 seconds before the lights light up correctly and you feel lucky, you can tweak the amount of time it waits for the bluetooth connection to complete before checking for the appropriate directories and lighting up the lights.
This is the "sleep" command found at the very top (line 3) of wii-lights.sh. I had it on "sleep 1" for a while and it seemed to work, but occassionally wouldn't, so...