| View previous topic :: View next topic |
| Author |
Message |
jeromote

Joined: 19 Mar 2008 Posts: 61
Digg It |
Posted: Wed Jun 11, 2008 10:45 am Post subject: script mouse directinput = wiimote pointer |
|
|
This is a first approach to emulation directinput = pointer
works with COD4, don't work with crysis or turok.
| Code: |
mouse.DirectInputX = (smooth(Wiimote1.pointerX - 1/2)*3) *(Screen.Width*1/2)
mouse.DirectInputY = (smooth(Wiimote1.pointerY - 1/2)*3) *(Screen.Height*1/2)
mouse.CursorPosX = (Screen.Width*1/2) + mouse.DirectInputX
mouse.CursorPosY = (Screen.Height*1/2)+ mouse.DirectInputY
|
|
|
| Back to top |
|
 |
wonder6oy
Joined: 12 Jun 2008 Posts: 20
Digg It |
Posted: Thu Jun 12, 2008 3:30 pm Post subject: |
|
|
jeromote,
I REALLY love the way this script feels on the desktop as a simple mouse! Very forgiving, very smooth.
I'm currently working on using this script in one of my own...
I'll check back later,
Thanks! |
|
| Back to top |
|
 |
jeromote

Joined: 19 Mar 2008 Posts: 61
Digg It |
Posted: Sun Jun 15, 2008 8:05 pm Post subject: |
|
|
thank you, it's cool. this sript is really well and the mouse is very flexible and clear, it does not tremble as with certain script, I hope that this script helps you  |
|
| Back to top |
|
 |
wonder6oy
Joined: 12 Jun 2008 Posts: 20
Digg It |
Posted: Tue Jun 24, 2008 2:16 pm Post subject: Re: script mouse directinput = wiimote pointer |
|
|
OK - I got my crazy script up now...
http://www.wiili.org/forum/universal-wiimote---great-for-fps-games-t4151.html
Thanks again!
| jeromote wrote: | This is a first approach to emulation directinput = pointer
works with COD4, don't work with crysis or turok.
| Code: |
mouse.DirectInputX = (smooth(Wiimote1.pointerX - 1/2)*3) *(Screen.Width*1/2)
mouse.DirectInputY = (smooth(Wiimote1.pointerY - 1/2)*3) *(Screen.Height*1/2)
mouse.CursorPosX = (Screen.Width*1/2) + mouse.DirectInputX
mouse.CursorPosY = (Screen.Height*1/2)+ mouse.DirectInputY
|
|
|
|
| Back to top |
|
 |
|