Home > Software engineering >  Analog keyboard combination messages sent to the specified window
Analog keyboard combination messages sent to the specified window

Time:10-02

I do a software command send another game window buttons, similar to the wizard button that, the question now is whether I can send a message to make window, the window can also receive the message, but there is a phenomenon is particularly strange, is the wasd keys I set into action buttons in the game, I use my software to send command, the main characters in the game don't do the action, but I click the enter button into the input message mode and I can see my software to send the game window to simulate keyboard keys ask what is this?

CodePudding user response:

Try keybd_event or SendInput
The game keyboard mouse operation meeting with DirectInput, not through the message mechanism to
  • Related