AutoHotkey Community

It is currently May 27th, 2012, 11:06 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 91 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7
Author Message
 Post subject:
PostPosted: September 4th, 2011, 10:12 pm 
Offline

Joined: May 30th, 2009, 11:07 am
Posts: 6
The reason I am interested in the source is to understand how AHK creates and sends KeyUp & KeyDown events.

I have been writing some Test automation using C# using this API

Code:
    [DllImport("user32.dll")]
    static extern void keybd_event(byte bVk, byte bScan, uint dwFlags, int dwExtraInfo);


Which works really well with standard Windows applications, but some game engines I've tried don't reconize the events create by the API keybd_event. However, AHK is able to generate KeyUp, KeyDown events that get reconized by all applications and game engines I have tried, thus I want to better understand how AHK is creating Key events.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 91 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7

All times are UTC [ DST ]


Who is online

Users browsing this forum: iDrug, Yahoo [Bot] and 56 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