Re: Creating a fake input device driver
- From: "Doron Holan [MS]" <doronh@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 21 Feb 2007 22:08:04 -0800
you can do this witha driver. download the WDK and then look at the kbfiltr
KMDF example. From there you will have to add support for all of the IOCTLs
instead of passing them down the stack. The WDK also contains documentation
on how to write a keyboard port driver that you should read
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"selmer" <selmer.2mdsxw@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:selmer.2mdsxw@xxxxxxxxxxxxxxxxxxxxxxxx
Hi to all
Does anyone know how I can create a fake device driver, so that I can
generate myself input data through an application and make the OS
believe that they come from an existing physical input device.
Actually, I don't really plan to generate the input data, but rather
receive them through a remote machine and feed them into the local
machine, like being generated in the latter.
To be more specific, I want to make a Game (for which I don't have any
info regarding its code) to see a mouse or a keyboard input that comes
from another machine. To achieve this, there are two possibiities.
Either I will fool the DirectInput (which the game uses) or I will fool
the game itself. But for both of them I don't see any other way than
building a driver for a non existing input device through which I can
pass my inputs. Am I right, or do I miss something?
Any information is acceptable (guidelines, sample code, links etc.)
Thanx in advance
--
selmer
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------
.
- References:
- Creating a fake input device driver
- From: selmer
- Creating a fake input device driver
- Prev by Date: Sony Plug'n'Play Keyboard not recognised & other driver oddities
- Next by Date: Re: IRP_MJ_CREATE is called twice with one createfile call from application
- Previous by thread: Creating a fake input device driver
- Next by thread: Sony Plug'n'Play Keyboard not recognised & other driver oddities
- Index(es):
Relevant Pages
|
|