diff --git a/smol_gkos.ino b/smol_gkos.ino index 9a604f8..5bae790 100644 --- a/smol_gkos.ino +++ b/smol_gkos.ino @@ -506,6 +506,11 @@ void press_key(int key) { // keypress Keyboard.press(key); + // small delay since slower computers can drop quick inputs + // this is very much a hack, and probably messes with the debouncing etc. + // but pending a debouncing rewrite to a timer-based system this should + // work in the meanwhile provided you don't type too quickly + delay(50); Keyboard.release(key); // release modifiers