| View previous topic :: View next topic |
| Author |
Message |
doddsie
Joined: 06 Jan 2008 Posts: 2
Digg It |
Posted: Sun Jan 06, 2008 2:52 am Post subject: nunchuck as a mouse |
|
|
Okay well im trying to setup the Dpad on the Nunchuck to do the moving instead of my mouse..
C left click
Z right click
Dpad will be instead of my mose
also i wanted to set it up so the wiimote with some double click buttons..
Ie press forward twice to run. Shift Key
press back twice to go prone. Z key.
any help would be great, thanks in advance  |
|
| Back to top |
|
 |
doddsie
Joined: 06 Jan 2008 Posts: 2
Digg It |
Posted: Sun Jan 06, 2008 3:05 am Post subject: |
|
|
heh, just worked it out
var.addX = wiimote1.Nunchuk.JoyX / 50
var.addY = wiimote1.Nunchuk.JoyY / 50
mouse.x = var.addX + mouse.x
mouse.y = var.addY + mouse.y
incase anyone else needs to know  |
|
| Back to top |
|
 |
|