How to use the HARDWARE_INPUT structure of C ++?

1

I'm developing a program that simulates game inputs. Using the SendInput() function of C ++. I have already been able to simulate keyboard inputs from the INPUT structure using the INPUT_KEYBOARD parameter, however I do not know how to use the INPUT_HARDWARE parameter to simulate an Xbox control, for example. I'm using the <Windows.h> library. Here are some links I'm using as a reference:

HARDWAREINPUT Structure: link

INPUT Structure: link

    
asked by anonymous 30.01.2017 / 20:30

0 answers