Hold down a key
Solved
mimigenie
Posted messages
1180
Registration date
Status
Member
Last intervention
-
bruno -
bruno -
Hello,
I would like a small program to hold down a key (the up arrow) for an online game.
I found a code that might do that, but I don't know how to use it.
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-sendinput?redirectedfrom=MSDN
So if you have some code and an explanation to make it work, please help me out.
Thanks in advance.
Configuration: Acer laptop running Windows 7
--
Forums are made to find answers, but search engines are too.
I would like a small program to hold down a key (the up arrow) for an online game.
I found a code that might do that, but I don't know how to use it.
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-sendinput?redirectedfrom=MSDN
So if you have some code and an explanation to make it work, please help me out.
Thanks in advance.
Configuration: Acer laptop running Windows 7
--
Forums are made to find answers, but search engines are too.