 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
guysingleton Guest
|
Posted: Wed Apr 20, 2005 6:27 pm Post subject: direct input problem |
|
|
i was makeing a bot for some games and came across a problem on knight online it seamd that when i used actool the input on game would only aply in chat so i stumbled on this
Intercepting DirectInput
With all but one exception (Virtua Squad 1), the currently supported games use DirectInput to read from the keyboard. Unlike the WinUser API, DirectInput provides no official mechanism for intercepting or injecting keystrokes programmatically (after all, it is supposed to be direct input, isn't it?). So functions like SendInput and keybd_event cannot be used to simulate keystrokes in these games.
i was wondering if anyone can inform me of a command that will help me get past this or perhaps an upgrade that will include a .dll injection to fix this problem AC tool seams to work fine with it they use a keys command |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Wed Apr 20, 2005 7:01 pm Post subject: |
|
|
I believe keystrokes and mouse clicks can be sent into some DirectInput games, but they have to be designed to allow that form of "auxiliary" input.
Also, the following topic mentions some macro software that might be capable of sending keys and mouse clicks into some of the games that AutoHotkey cannot: http://www.autohotkey.com/forum/viewtopic.php?t=829&start=75 |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|