Page 1 of 1

#IfMousePluggedIn?

Posted: 18 Jun 2018, 12:59
by MaxAstro
Got a new tablet lately, and I'm pretty happy with it, but I'd like to write a script to improve the function of the pen. Unfortunately, I also use a mouse with the tablet occasionally, and the script would mess with the mouse. Is there any way to have a hotkey function only if there is no mouse plugged in?

In case it matters, it's a Samsung Galaxy Book 12.

Re: #IfMousePluggedIn?

Posted: 18 Jun 2018, 14:57
by swagfag
maybe u could use https://github.com/jleb/AHKHID/blob/master/AHKHID.ahk to check if the mouse is plugged. i dont know how that works, just throwing it out there