Skip to content

Commit

Permalink
[Keymap] Set a short TAP_CODE_DELAY so media keys work (qmk#6097)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bcat authored and drashna committed Jun 7, 2019
1 parent ffee34e commit 7fb934a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions users/bcat/config.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 7fb934a

Please sign in to comment.