hello,
i have a scenario where the video output of a windows machine is
transmitted over IP to my embedded application where it is rendered on
a display device . I have a mouse and keyboard
attached to the embedded box and if i move the mouse or type anything
on the keyboard , i want it to be played back on the windows box just
as if the keyboard or mouse were physically plugged into the windows
machine .
on the embedded side i open the drivers of the keyboard and mouse and
whatever data comes from them , i send it over sockets to the windows
side where my app is listening .
Now what is the best way to play this raw data on the windows machine
.What options do i have ?
do i need to post some WM_ messages , but if yes to what window?
handling all the scenarios like the OS here would be complicated ,
wouldn't it?
the other thing i was thinking of was to make two dummy drivers on
windows side , one each for a keyboard and a mouse and feeed them the
data coming over the socket through some ioctl call and the driver
could handle the data the same way as if it were coming from a "Real"
hardware . Then windows would then be fooled and also behave correctly
according to its own
what other options if any do i have here? any ideas or comments ?
thanks and regards
Taha