I am writing a C++ software intended to perform a sequence of key presses while the "Q" key is held down. So far so good; however, I've noticed a delay during the initial key press, similar to what occurs with a standard keyboard. Is there a method to remove this delay without altering the keyboard filters within Windows?
I am writing a C++ software intended to perform a sequence of key presses while the "Q" key is held down. So far so good; however, I've noticed a delay during the initial key press, similar to what occurs with a standard keyboard. Is there a method to remove this delay without altering the keyboard filters within Windows?
this is my current code: https://pastebin.com/i152uqTS
Left and W are pressed just as intended. However, there's an annoying delay between the first and the following key presses