AutoHotkey Community

It is currently May 27th, 2012, 5:17 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Directkeyboard support
PostPosted: December 16th, 2005, 10:59 pm 
Hi,

A very powerfull feature would be to add directkeyboard support, to be able to send keys to many software like games and other that are getting keys this way and could not receive simulated keys from the send keys.

I don't know how it could be done, but it is possible as macro express 3 can do it and i have tried it myself and it works. I would rather have this functionnality in autohotkey that is much more usefull in many ways

:wink:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 17th, 2005, 4:45 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
I currently don't have the expertise to do it. If anyone has any info about how to code it, please contact me at support@autohotkey.com

Here's a related topic about driver-level simulation of keystrokes and mouse clicks: A program that defeats AutoHotKey.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 19th, 2005, 3:41 am 
Hi,

I have checked a bit at the other thread. Just to add my small comment because i have already worked on VXD for a custom hardware.

A driver written to talk to custom hardware on win98 can also work on win2k (and i guess on winxp also?). But it will not work on win95 because it had a different driver architecture. Win98 was the missing link, it could used both drivers, with the old win95 architecture and the "new" win2000 driver architecture (VXD).

I don't have any idea how directinput is working, but if i am finding some info about how macro express can do it, i will post it here...

Bye


Report this post
Top
  
Reply with quote  
PostPosted: December 19th, 2005, 3:55 am 
Hi Chris,

This guy know how to do it... Maybe he could help?

http://www.g-hotkey.com/

He is selling is software at $10.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 20th, 2005, 8:33 pm 
Offline

Joined: February 25th, 2005, 2:59 am
Posts: 4
I'm the developer of G-Hotkey and actually I'm in the same boat with Chris - in that I do not have the expertise to do it - that is in writing driver level software the directly interfaces with DirectInput. G-Hotkey actually intercepts a key/mouse button being pressed and then does something based on that key/mouse button press. The code was written to monitor keyboard/mouse activity using the GetAsyncKeyState library and then executing key presses by using the keybd_event/SendInput library. I'm simply queuing for keyboard/mouse activity approximately every 80th of a second (no it does not slow game performance down). Now you could do something similar in AutoHotkey, but you still would have the following problems that probably cannot be overcome:

PunkBuster will probably block this activity
This will not work with gameguard/nprotect

My understanding is the Belkin N50/N52 is working correctly though with those games that use PunkBuster/gameguard/nprotect so I assume that it uses a driver that directly interfaces with DirectInput. Anwyay in conclusion I still believe the driver solution is the best way as Astaelan pointed out in the thread: A program that defeats AutoHotKey.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group