|
Emulating a key press
Hello!
I need a program which emulates a key press, which has to be captured by the foreground application (like virtual keyboards do).
Is this easy to implement?
I thought that it's just a matter of writing to a /dev/something file, but I'm not sure whether this can be done or whether such a device file exists.
Any help is appreciated!
Thanks!
|