Thread: Virtual Device Driver

  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    3

    Virtual Device Driver

    I am looking to create a Virtual Device Driver for my program. I don't expect anybody to write one for me (though it would be nice), but I do ask for some help. I have no idea where even to begin and have absolutely no expierience with C. I need the driver to do some very specific things, including:

    Look like a generic device.
    Be able to send keyboard and mouse commands.
    Accept SendMessage input.

    Basicly I need it to take windows messages and turn them into virtual key strokes that look like they are comming from a legitamate device.


    Like I said before, I have no idea even where to begin. Even if I had some sample source code for input device drivers it would help a lot.

    Thanks in advance,
    -3nvy

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    > look like they are comming from a legitamate device.
    *sniff sniff*
    This reeks of something non too pleasant to me.
    Presumably because whatever it is you have isn't legit, and you want to make it appear so.

    > I have no idea where even to begin and have absolutely no expierience with C
    Oops - you're in for a long and rocky road then.

    > I am looking to create a Virtual Device Driver for my program
    What does it do that's so off-beat that it needs it's own spoofing device driver?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Aug 2006
    Posts
    3
    If you really must know, I'm interested in getting arround some tyranical software. This software has found a way to detect and block simulated keystrokes created from the scripting program/language AutoHotkey. This defeats one of the many purposes of the language - combatting the development of RSIs. My goal is to create a way of sending virtual keysrokes that won't be blocked for fear of excluding large ammounts of potential users. Unfortunately, every attempt Chris (the creater of AHK) has made has been found and blocked in many programs (most of which use this tyranical software).
    Last edited by xx3nvyxx; 08-21-2006 at 03:38 PM.

  4. #4
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    Sounds like an attempt at a World of Warcraft bot to me.
    If you understand what you're doing, you're not learning anything.

  5. #5
    Registered User
    Join Date
    Aug 2006
    Posts
    3
    Never played WoW and never will. Not to mention, I believe the default key sending of AHK still works in WoW. If I was trying to create a bot for it, I would simply write one without all this fussing around with drivers.

  6. #6
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    Okay, it's not WoW. It's MapleStory: http://www.autohotkey.com/forum/topic5908.html

    http://www.autohotkey.com/forum/topic11566.html

    You're playing a game and you're trying to say that the 10 or 20 keystrokes you use to log into the game is causing your RSI to flame up to holy hell, but playing the game isn't a problem at all? Come on. We're not idiots. We know what you're doing.
    If you understand what you're doing, you're not learning anything.

  7. #7
    ... kermit's Avatar
    Join Date
    Jan 2003
    Posts
    1,534
    > I am looking to create a Virtual Device Driver for my program.

    Wonderful.

    > I don't expect anybody to write one for me (though it would be nice),

    I don't expect anyone to give me a million dollars (though it would be nice).

    >but I do ask for some help. I have no idea where even to begin and have absolutely no expierience with C.

    Uh-oh - better learn how to program so that you can *program* the device driver.

    > I need the driver to do some very specific things..

    Hmmm... I thought all device drivers did non-specific things...

    >Like I said before, I have no idea even where to begin.

    Well, you thought you had a good idea when you came here asking your questions. Of course you were WRONG!! (Anybody else love that scene with Kevin Spacey in the latest offering of Superman? )

    I am guessing that you won't have someone write your device driver, but you will get an education, if you choose to stick around that is, on how to Ask a smart question, how to search for answers on the net, and how not to break board rules.

    > Thanks in advance,

    Well no problem-o dude. Don't mention it.

  8. #8
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    Quote Originally Posted by kermit
    and how not to break board rules.
    Especially #6
    If you understand what you're doing, you're not learning anything.

  9. #9
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Never played WoW and never will. Not to mention, I believe the default key sending of AHK still works in WoW. If I was trying to create a bot for it, I would simply write one without all this fussing around with drivers.
    So how are you going to write a bot if you cannot code in C? And writing drivers is something that not many folks here do and is not a simple process. It is definitely not a task to be taken on by someone like yourself.

    All of the tasks you wish your 'device driver' to accomplish sound nothing short of extremely shady to me. Well behaved device drivers actually try to avoid at all costs pretty much everything you want yours to do.


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 48
    Last Post: 09-26-2008, 03:45 AM
  2. Device Driver: sysfs confusion
    By filker0 in forum Linux Programming
    Replies: 0
    Last Post: 12-02-2005, 11:36 AM
  3. Linux (2.6.10+) device driver: multiple classes?
    By filker0 in forum Linux Programming
    Replies: 3
    Last Post: 09-26-2005, 08:46 PM
  4. Replies: 4
    Last Post: 06-30-2004, 03:11 PM
  5. C++ XML Class
    By edwardtisdale in forum C++ Programming
    Replies: 0
    Last Post: 12-10-2001, 11:14 PM