autoclicker for joystick key

Ask gaming related questions (AHK v1.1 and older)
sc30x
Posts: 1
Joined: 03 May 2024, 18:00

autoclicker for joystick key

03 May 2024, 18:05

Hello. I need an ahk that will autoclick the RT key on an xbox joystick connected to a PC.
here is a code example, it's good

Code: Select all

#MaxThreadsPerHotkey 3

^z::
Toggle := !Toggle
Loop
{
	If (!Toggle)
		Break
	Click
	Sleep 83 ; Make this number higher for slower clicks, lower for faster.
}
Return
User avatar
boiler
Posts: 17176
Joined: 21 Dec 2014, 02:44

Re: autoclicker for joystick key

03 May 2024, 21:52

AHK itself cannot send simulated controller button presses, joystick movements, trigger pulls, etc. You would need to use an advanced method of creating a virtual controller, which you can learn about here.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 25 guests