I want to create a program which could emulate the keyboard. Its like making the program press the key. I found out that the function sendinput() could emulate the keystrokes and help me do my job. But I got stuck on to how to create a particular keystroke.
Could anyone please help me with an example of creating the keystroke with the help of C++.