oblitum / Interception

The Interception API aims to build a portable programming interface that allows one to intercept and control a range of input devices.
http://oblita.com/interception
1.32k stars 271 forks source link

Initial Key Press Delay When Key is Held Down #183

Open leemix opened 2 months ago

leemix commented 2 months ago

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