salahzar

swap mouse

Feb 19th, 2019
4,581
0
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; autohotkey code - mapped to F12
  2. F12::
  3.     buttonState := DllCall("user32.dll\SwapMouseButton", "UInt", 1)
  4.     if buttonState <> 0
  5.     {
  6.         buttonState := DllCall("user32.dll\SwapMouseButton", "UInt", 0)
  7.     }
Advertisement