trackpad detection?
trackpad detection?
Does anyone if there is a way to detect if my windows 8.1 machine is currently using the trackpad or a mouse?
Re: trackpad detection?
you can check this particular library if it will be of any help for you
http://www.autohotkey.com/board/topic/3 ... functions/
http://www.autohotkey.com/board/topic/3 ... functions/
Re: trackpad detection?
If it will not help you can google 'ahk two cursors', you will find a bunch of scripts that determines the presence of two pointing devices and handles commands coming from them differently.
Re: trackpad detection?
1. Thank you both of your suggestions seem like interesting ones!
2. However, am I correct in thinking that both of your solutions will essentially target specific hardware devices and not be a generic solution that can detect either "any mouse" or "any trackpack" presence?
2. However, am I correct in thinking that both of your solutions will essentially target specific hardware devices and not be a generic solution that can detect either "any mouse" or "any trackpack" presence?
Re: trackpad detection?
Can't tell you. What's the purpose of detecting that events come from trackpad? I think you can always make some kind of setup for your script. Like if you want to process only trackpad movements or clicks you can make a gui and ask user to click particular button with trackpad. After it you can save some kind of device ID to ini or registry and next time you will know what poiting device a user just hmm... usedSkrell wrote:1. Thank you both of your suggestions seem like interesting ones!
2. However, am I correct in thinking that both of your solutions will essentially target specific hardware devices and not be a generic solution that can detect either "any mouse" or "any trackpack" presence?
Who is online
Users browsing this forum: mikeyww and 374 guests