Hi,
can I stop the analog stick at y-axis Y075, when I pressed a button and use the anlaog down at the same?
Stop Analog at Y-axis 75 when button is clicked
Re: Stop Analog at Y-axis 75 when button is clicked
Thank Your for answer!
Yes, I mean the analog of joystick. Im absolutly noob at ahk. But if you can give me a link or an exsample, that would help me a lot.
I´ve got this code and want to stop the y-axis at 75, when I push joy3 and at the same time put the analog over Y075
!Joy3::
Send, {Joy3}
Soundplay, C:\Users\AUDIO\Sounds\sample.wav
return
Yes, I mean the analog of joystick. Im absolutly noob at ahk. But if you can give me a link or an exsample, that would help me a lot.
I´ve got this code and want to stop the y-axis at 75, when I push joy3 and at the same time put the analog over Y075
!Joy3::
Send, {Joy3}
Soundplay, C:\Users\AUDIO\Sounds\sample.wav
return
Re: Stop Analog at Y-axis 75 when button is clicked
First you must know when JoyY > 75
Maybe this link can help you? JoyX JoyY to SendInput
After that, the problem is to stop the JoyY-value. (Can't help you because I don't have a joystick installed.)
But, maybe the mouse position is the same as for the joystick?
You can do something like If JoyY >= 75 MouseMove ??,75
Maybe this link can help you? JoyX JoyY to SendInput
After that, the problem is to stop the JoyY-value. (Can't help you because I don't have a joystick installed.)
But, maybe the mouse position is the same as for the joystick?
You can do something like If JoyY >= 75 MouseMove ??,75
Who is online
Users browsing this forum: Google [Bot], oktavimark and 330 guests