Let me answer only about Windows side.
If you managed to develop driver work and are ready to send key input, please understand that
SendKeys
is not good at all. On Windows, you really need to use one API which performs generation of events from user input exact same way as hardware drivers do. This is
SendInput
:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms646310%28v=vs.85%29.aspx[
^].
The real hardware actually used to use
keybd_event
and
mouse_event
, but
you should not use these functions, they are both
superseded by
SendInput
:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms646304%28v=vs.85%29.aspx[
^].
Sorry, I have little idea on how this is done on Linux. But Linux is very open; hope you will find it.
Good luck,
—SA