Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow tracking when hotkey is held down #11

Closed
nash8350 opened this issue Nov 3, 2017 · 1 comment
Closed

Allow tracking when hotkey is held down #11

nash8350 opened this issue Nov 3, 2017 · 1 comment

Comments

@nash8350
Copy link

nash8350 commented Nov 3, 2017

Hey I really enjoy this program! The last camera mouse I tried was CameraMouse, and this is way more accurate! That said, I find it a little distracting that the mouse pointer is constantly moving as I look around the screen. I really only need to move the mouse just before a click. It'd be great if it could track on key down, wait for the cursor to position, and then stop tracking on key up. The reason for holding a key is because I use a USB switch for clicking and I would like to use it to enable tracking as well. Does that make sense? Would you be open to this kind of setting?

@nash8350
Copy link
Author

Hey so I figured out a way to make AutoHotKey do this. Now the mouse is only active when I hold down the F3 key. Closing this issue since it's not needed anymore.

holding:=false
F3::
  if(holding) {
    return
  }
  holding:=true
  Send {F3 down}
  Send {F11}
  return
F3 UP::
  holding:=false
  Send {F3 up}
  Send {F11}
  return

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant