Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Requires AutoHotkey v2.0
- ;fix l mouse bounce
- ; ------------------------------------
- ; fix l mouse bounce
- ; left mouse
- ; ------------------------------------
- ;LButton::
- If (A_TimeSincePriorHotkey < 0.5) ;80 hyperclick
- Return
- sendinput {LButton down}
- KeyWait, LButton
- sendinput {LButton up}
- return
- }
- ;fix mouse wheel bounce
- ; ------------------------------------
- ; fix mouse wheel bounce
- ; mouse wheel
- ; ------------------------------------
- WheelUp::
- {
- global WheelDownon
- global WheelUpon
- if (WheelUpon = 1)
- {
- SendInput("{WheelUp}") ; WheelMult
- WheelDownon := "0"
- SetTimer wheelDownonF, 500
- }
- return
- }
- WheelDown::
- {
- global WheelUpon
- global WheelDownon
- if (WheelDownon = 1)
- {
- SendInput("{WheelDown}") ; WheelMult
- WheelUpon := 0
- SetTimer wheelUponF, 500
- }
- }
- WheelUpOnF()
- {
- global WheelUpon
- WheelUpon := 1
- SetTimer WheelUpOnF, 0
- return
- }
- WheelDownOnF()
- {
- global WheelDownon
- WheelDownon := 1
- SetTimer WheelDownOnF, 0
- return
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement