Sending Keyboard Macro Commands to Game Windows

后端 未结 5 1026
离开以前
离开以前 2021-02-06 18:25

I wanna do a macro program for a game. But there is a problem with sending keys to only game application (game window). I am using keybd_event API for sending keys

5条回答
  •  广开言路
    2021-02-06 19:07

    If you want to communicate with a game, you typically will have to deal with DirectInput, not the normal keyboard API's.

提交回复
热议问题