PC Review


Reply
Thread Tools Rate Thread

Creating a fake input device driver

 
 
selmer
Guest
Posts: n/a
 
      21st Feb 2007

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
------------------------------------------------------------------------

 
Reply With Quote
 
 
 
 
Doron Holan [MS]
Guest
Posts: n/a
 
      22nd Feb 2007
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> 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
> ------------------------------------------------------------------------
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No Audio Input Device - Win 7 - Realtek Driver TVeblen DIY PC 1 23rd Dec 2009 10:40 PM
Fake Modem Driver/Skype Out Fax? mamccarty@gmail.com Windows XP Print / Fax 1 24th Nov 2006 12:42 AM
Simulating keypresses by creating a virtual device driver =?Utf-8?B?WmVyb0VjaG8=?= Windows XP Drivers 2 21st Jul 2006 07:40 AM
64bit pci input device driver XapemanX Windows XP Drivers 1 9th Jun 2005 06:02 PM
Unable to load device driver: device driver could not be loaded Sarah Windows XP Performance 0 23rd Dec 2003 04:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:46 PM.