Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 26th May 2005 03:11 Edited at: 26th May 2005 03:22
I'm Using PS2 Controller, And the Second Analog is Controlled By
Control Device Z() for the y Axes And
JoyStick Twist Z for the x Axes...

I'm currently controling the mouse with it like this...



BUT its Slow And acts kind off strange...

I doubt anyone knows but is there a simply way to control the mouse with the joypad like this?

Try This Code...
Shadow Light
21
Years of Service
User Offline
Joined: 13th Sep 2003
Location: W. Ks USA
Posted: 27th May 2005 18:22
Are you trying to simply move the mouse curser inside of a DB program or are you trying to use a joystick as a mouse for everyday computing?
If your working on an everyday alternative to mousing around, then Great minds think alike. ;P Otherwise, there is most certainly better ways of accomplishing your goal of joymousing.

Also, are could try doing this:


Now all that you'd need is a way to emulate mouseclicks and we'd all trade in our mice for joypads. Anyway, hope this helps.

To Fragg or Not To Fragg....
Yea right. Let's FRAGG EM ALL!!!!
MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 7th Jun 2005 07:51 Edited at: 7th Jun 2005 08:04
Thanks for the help but im Using it a different way So It Returns a Value Like Control Device X(), (Ie: -1000 To 1000)

xOffSet# = 2000 / 60000 * JoyStick Twist Z() - 1000 / 200

Dark Basic won't do this Calculation for some reason so you have to do this

xOffSet# = 0.0333 * JoyStick Twist Z() - 1000 / 200

Login to post a reply

Server time is: 2025-06-08 05:40:22
Your offset time is: 2025-06-08 05:40:22