| View previous topic :: View next topic |
| Author |
Message |
GizmoTheGreen
Joined: 14 Nov 2006 Posts: 123
Digg It |
Posted: Tue Mar 25, 2008 10:42 pm Post subject: .30 bug, directions mouse |
|
|
| Code: | mouse.DirectInputX += wiimote.Nunchuk.JoyX
mouse.DirectInputY += wiimote.Nunchuk.JoyY |
this code works as expected, almost, try using it and see
it should work, but doesnt
thx _________________ Project starter/leader of TrueLoveDS |
|
| Back to top |
|
 |
crim3
Joined: 30 Jan 2008 Posts: 26 Location: Spain
Digg It |
Posted: Fri Mar 28, 2008 8:24 pm Post subject: |
|
|
| I don't have a nunchuk but now I'm intrigued. Can you tell what happens? |
|
| Back to top |
|
 |
GizmoTheGreen
Joined: 14 Nov 2006 Posts: 123
Digg It |
Posted: Wed Apr 02, 2008 11:18 am Post subject: |
|
|
well, if you press both up, and left
(diagonally up - left)
the mouse goes diagonally up to the left
but, down to the right is "dead"
its always one direction thats not working, though, adding * 10 or seomthing, seems to fix it
| Code: | mouse.DirectInputX += wiimote.Nunchuk.JoyX * 10
mouse.DirectInputY += wiimote.Nunchuk.JoyY * 10 |
but this shouldnt be necessary? _________________ Project starter/leader of TrueLoveDS |
|
| Back to top |
|
 |
leynadix
Joined: 28 Dec 2007 Posts: 44 Location: MatarĂ³, Catalunya
Digg It |
Posted: Fri Apr 04, 2008 1:25 pm Post subject: |
|
|
Hi!
I use this script for see in Fps Games "exactly in Oblivion".
//Nunchuk movimiento de vista
var.detjoyX = wiimote.Nunchuk.JoyX
var.detjoyY = wiimote.Nunchuk.JoyY
var.0XY = 0.000000000000
If var.detjoyX >= 0 and < 0.023 then
var.vistaX = var.0XY
else
var.vistaX = var.detjoyX
endif
if var.detjoyY >= -0.033 and < 0.0 then
var.vistaY = var.0XY
else
var.vistaY = var.detjoyY
endif |
|
| Back to top |
|
 |
|