Hold Single Click XButton1 => Hold Double Click L&RButtons? Topic is solved

Ask gaming related questions (AHK v1.1 and older)
rivenwyrm

Hold Single Click XButton1 => Hold Double Click L&RButtons?  Topic is solved

14 Apr 2017, 19:13

So basically I want an alternate mouse button to press both my left & right buttons at the same time, and potentially to hold them if I hold it. The best I've come up with is mapping down to XButton1 and up to XButton2, which is okay, but maybe there's a better solution?

Code: Select all

SetMouseDelay -1
*XButton1::
{
	SendInput {LButton Down}{RButton Down}
	Return
}

*XButton2::
{
	SendInput {LButton Up}{RButton Up}
	Return
}
rivenwyrm

Re: Hold Single Click XButton1 => Hold Double Click L&RButtons?

25 Apr 2017, 22:46

Hmm? Did you mean to add some comments or something?
rivenwyrm

Re: Hold Single Click XButton1 => Hold Double Click L&RButtons?

25 Apr 2017, 22:48

Nvm, I see the change. Small, but thanks! Much appreciated.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: ReyAHK and 80 guests