views:

20

answers:

1

Hello, 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 have any ideas or is it impossible? Thanx

+1  A: 

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.

Kynth
Thank you for your answer. To be exact, the app I'm developing is a typing trainer. The one problem is that "smart" students are using those autowriters which simulates key presses.
Iale