How to set up Bluetooth correctly
Edit the file /etc/cwiid/wminput/minecraft eg. with
sudo gedit /etc/cwiid/wminput/minecraft
and copy and paste the code below. You could also save this file as /etc/cwiid/wminput/minecraft Now start wminput:
sudo wminput -c minecraft -w
Pointing does not work but I'm figuring it out ;)
I think the key assignment is self-explanatory.
#Head Movement
Plugin.acc.X = REL_X
Plugin.acc.Y = REL_Y
#Body Movement
Plugin.nunchuk_stick2btn.Up = KEY_W
Plugin.nunchuk_stick2btn.Down = KEY_S
Plugin.nunchuk_stick2btn.Left = KEY_A
Plugin.nunchuk_stick2btn.Right = KEY_D
#Left Mouse Button, Right Mouse Button and Space
Wiimote.B = BTN_LEFT
Nunchuk.Z = BTN_RIGHT
Wiimote.A = KEY_SPACE
Wiimote.Home = KEY_E
Wiimote.2 = KEY_ESC