tmk / tmk_keyboard

Keyboard firmwares for Atmel AVR and Cortex-M
3.98k stars 1.7k forks source link

tap key (or SpaceFn) function doesn't work out as expected #740

Open wytalfred opened 2 years ago

wytalfred commented 2 years ago

I set my Space key as a dual role key: tap as space and hold as layer switch. I want this key to work just like that, no matter how many times or how fast I use this key. As for this code, if I tap and then press space key very quickly and then hold it, it becomes a repeated space key, not layer switch key as expected.