How to set up Bluetooth correctly
sudo apt-get install bluez-utils libopenobex1 wmgui wminput
sudo /etc/init.d/bluetooth restart
sudo modprobe uinput
sudo su echo "uinput" >> /etc/modules
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
3 Kommentare:
Now this is what I call a mod!
i would so do this if i knew i wouldnt blow up my computer just by looking at it
Damn. Tried this with the usb dongle from a wireless mouse but sadly (and kinda as expected) it didn't work :(
Kommentar veröffentlichen