Wiimote

From wikinotes

Unix

The dolphin emulator is astoundingly well supported considering how current the console is. Wiimotes work and everything.

It seems that dolhpin can only access the bluetooth pair for the wiimote if you have used bluetoothctl to (initially pair), but turn the power, agent, and scan on before running dolphin. If you can detect your wiimote with hcitool, you should be able to connect in dolphin.


Bluetooth/wiimote pairing

### Bluetooth
sudo pacman -S bluez bluez-utils
sudo modprobe btusb

sudo systemctl start bluetooth
sudo systemctl enable bluetooth

bluetoothctl
> power on
> scan on
> agent on
> list						## At any point you can list all detected devices
## while in the bluetooth prompt, turn on wiimote (button next to batteries)
## watch prompt for a new device to appear
pair <MAC ADDRESS> 		## Wait to hit enter until you hit the button next to batteries
<enter>
connect <MAC ADDRESS>	## Once again holding button next to batteries before hitting enter
<enter>

## You should now see a little blue single player light 
## if connection was successful

## Turn it off now, for the wiimote, we want to connect using hcitool

Wiimote driver

### Wiimote
sudo pacman -S cwiid
sudo modprobe uinput		## just a temporary setup, for perm, put in mkinitcpio.conf
hcitool scan				## ALSO: press 1 & 2 on wiimote

wmgui							## After wiimote has been identified by hcitool, you can test it.


#### /etc/modprobe.d/wiimote.conf		## Create modeprobe.d entry so kernelmodules start on boot
uinput
btusb
####