[Keymap] Set a short TAP_CODE_DELAY so media keys work (#6097)
A delay of 10ms seems sufficient. Otherwise, media keys tapped from the encoder of my BDN9 macropad only seem to get picked up by the OS (Windows 10) some of the time.
This commit is contained in:
parent
e495574670
commit
c70016eee5
|
@ -1,3 +1,8 @@
|
|||
/* Delay between tap_code register and unregister to fix flaky media keys. */
|
||||
#undef TAP_CODE_DELAY
|
||||
|
||||
#define TAP_CODE_DELAY 10
|
||||
|
||||
/* Turn off RGB lighting when the host goes to sleep. */
|
||||
#define RGBLIGHT_SLEEP
|
||||
|
||||
|
|
Loading…
Reference in New Issue