AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

direct input problem

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
guysingleton
Guest





PostPosted: Wed Apr 20, 2005 6:27 pm    Post subject: direct input problem Reply with quote

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

PostPosted: Wed Apr 20, 2005 7:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group