[python-win32] Help on using win32api.SendMessage to send keystrokes

Daniel F nanotube at gmail.com
Wed Apr 6 21:34:13 CEST 2005

> I don't know the answer to this.  Games tend to be straight-to-the-metal
> applications: they don't truck with a lot of filtering and intermediate
> DLLs.  You might be able to use the debug APIs to watch for the loading
> of the DirectInput DLL and insert some manual hooks, but that's a pretty
> high level of guruness.  Google for "api dll injection".

wow, that opened up a wealth of info. thanks.  although i hope to
skate by without using it... ;)

> There are some HID filter drivers in the DDK supplied by Microsoft.  As
> a general rule, it is rare to find a publicly-available  third-party
> kernel driver.  There are several reasons for that.  Most drivers are
> written for a specific device, and are not useful in the general case.
> Device-specific drivers often include information that the manufacturer
> considers to be proprietary.  The support burden for a kernel driver is
> much greater than a user-mode app.  And, the investment in creating and
> debugging a driver is so high, that most manufacturers don't want to
> help the competition by providing the labor for free.

interesting... thanks for the info.

More information about the Python-win32 mailing list