I want to be able to limit the number of clicks on my mouse to 1, until the mousebutton is released. If I press a certain key though, it should go back to normal. The reason for this is I want a stand-in for select fire in FPS games. I'm playing payday 2 and basically, nearly all weapons are full auto, when being able to switch between single/auto would be really helpful.
So say I have this bound to mouse3 - By default I'd be able to hold down mouse1 and empty my gun into the nearest object. If I then press mouse3, then mouse1, it will fire 1 shot (Or click, once), even if I keep mouse1 held down.
Does such an application exist, or could someone awesome (Or not awesome) code this with just their arsecheeks?
I found a way to do it using AutoHotKey
[code]~Lbutton::
If (Firemode = "On") send, {lbutton up}return; toggle firemodef12::if ((FireMode = "off") or (Firemode = "")) FireMode := "On"else Firemode := "off" return[/code]
For anyone who gives a shit - F12 is the key to toggle.
[editline]17th August 2013[/editline]
Okay, 2 problems with this:
When I hold down CTRL, Shift or presumably ALT, it has no effect.
In payday 2, when "firemode = on", the mouseclick isn't fast enough to register as a shot, I think
[editline]17th August 2013[/editline]
Solved by doing
*~Lbutton::
sleep, 25
If (Firemode = "On")
send, {lbutton up}
return
Sorry, you need to Log In to post a reply to this thread.