Browse Source

[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.
pull/6120/head
Jonathan Rascher 5 years ago
committed by Drashna Jaelre
parent
commit
c70016eee5
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      users/bcat/config.h

+ 5
- 0
users/bcat/config.h 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. */
#define RGBLIGHT_SLEEP


Loading…
Cancel
Save