Detecting auto writer (keboard-hooks)
I need to detect if text input was processed by keyboard or some auto writer tool (app which simulates keyboard by using keyboard hooks). Do you hav开发者_运维百科e any ideas or is it impossible? Thanx
There is a Raw API discussed in a previous StackOverflow question that you can leverage.
Depending on your scenario, be careful about restricting accessibility - for example screen-input devices such as tablet touchscreens, hand-writing recognition or software designed to support those with disabilities may still be legitimate input sources for your application even if the input isn't from a traditional physical keyboard.
精彩评论