Reputation: 191
How can I simulate key press with SendInput()?
I want to make it to simulate for example in a notepad to press shift+q. So a Q would appear in the notepad if I run my program.
Upvotes: 1
Views: 779
Reputation: 179819
You need 4 inputs: shift down, q down, q up, shift up. Therefore, use a INPUT[4]
.
Upvotes: 2