I am trying to simulate mouse events in a game. The games use DirectInput, so you cannot use SendMessage to send mouse events / keyboard events, so I have to connect to the game.
Also, I do not want to use SendInput / mouse_events, the game should work in the background and make mouse events.
I already managed to make a DLL hook in the game, but now the next problem is that I have to make mouse events and keyboards (perhaps the main problem).
Thanks in advance.
source share