Skip to content

Instantly share code, notes, and snippets.

@huenisys
Created February 21, 2019 19:07
Show Gist options
  • Save huenisys/18e7a41a93e5d1b9972d075b1755eef9 to your computer and use it in GitHub Desktop.
Save huenisys/18e7a41a93e5d1b9972d075b1755eef9 to your computer and use it in GitHub Desktop.
temporary-fix-mouse-double-clicking

ideal fix

  • replace the switch

temporary fix

  • using software, stop double clicks that happens in 100ms
  • use autohotkey for it using code below
  • this will not fix issues wherein you are dragging or highlighting something, then suddenly, mouse spring doubleclicks.
LButton::
If (A_TimeSincePriorHotkey < 100) ;hyperclick
Return
sendinput {LButton down}
KeyWait, LButton
sendinput {LButton up}
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment