What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » VB Keypress help

VB Keypress help
Author: Message:
Adeptus
Senior Member
****


Posts: 732
Reputation: 40
Joined: Oct 2005
RE: VB Keypress help
Your game probably uses the DirectInput API.  That would be my default expectation for most modern 3D games.

http://msdn.microsoft.com/library/default.asp?url...nput/html/diov.asp

quote:
Apart from providing services for devices not supported by the Microsoft Win32 API, Microsoft DirectInput gives faster access to input data by communicating directly with the hardware drivers rather than relying on Microsoft Windows messages.
SendKeys() stuffs the Windows message loop, which sits at a higher level than DirectInput, so they are never seen by your game.

Unfortunately, I don't know off the top of my head how you would go about simulating keys so they are recognized by DirectInput. 
04-23-2006 11:53 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
VB Keypress help - by DJeX on 04-23-2006 at 11:10 PM
RE: VB Keypress help - by Adeptus on 04-23-2006 at 11:53 PM
RE: VB Keypress help - by matty on 04-24-2006 at 12:19 AM
RE: VB Keypress help - by DJeX on 04-24-2006 at 01:31 AM
RE: VB Keypress help - by rav0 on 04-24-2006 at 01:36 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On