Directx and keybd_event

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • chris

    Directx and keybd_event

    I'm trying to send keystrokes to an external fullscreen directx game. I've
    tried sendkeys, sendinput, keybd_event, and sendmessage without luck.

    Public Sub Roger()
    PressKeyVK keyf1
    PressKeyVK keyf1
    End Sub

    The above will send keystrokes to an app within the windows gui, but not the
    directx game (bf1942).


Working...