1
0
Fork 0

[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:
Jonathan Rascher 2019-06-07 14:58:23 -05:00 committed by Drashna Jaelre
parent e495574670
commit c70016eee5

View file

@ -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. */ /* Turn off RGB lighting when the host goes to sleep. */
#define RGBLIGHT_SLEEP #define RGBLIGHT_SLEEP