So far, I could use the SendInput ( ) function to simulate virtual mouse and keyboard keys and scan keys using MOUSEINPUT and KEYBDINPUT .
I read (on SO) that INPUT_HARDWARE is for other devices, not a mouse or keyboard . I am trying to simulate an Xbox controller (or any controller if this can help) using SendInput() and the HARDWAREINPUT structure. Can this be done? How to do it right?
c ++ input windows
Vinícius Magalhães Horta
source share