aboutsummaryrefslogtreecommitdiffstats
path: root/users
diff options
context:
space:
mode:
authorJonathan Rascher <jon@bcat.name>2019-06-07 14:58:23 -0500
committerDrashna Jaelre <drashna@live.com>2019-06-07 12:58:23 -0700
commitc70016eee55db9f7e37a312922c509c670434461 (patch)
tree8544032065ba075a6109fbe3fc575e58623e46a9 /users
parente495574670b27602891936f3a4baf4c84e2f0481 (diff)
downloadfirmware-c70016eee55db9f7e37a312922c509c670434461.tar.gz
firmware-c70016eee55db9f7e37a312922c509c670434461.tar.bz2
firmware-c70016eee55db9f7e37a312922c509c670434461.zip
[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.
Diffstat (limited to 'users')
-rw-r--r--users/bcat/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/users/bcat/config.h b/users/bcat/config.h
index a29aded71..c5f731b73 100644
--- a/users/bcat/config.h
+++ b/users/bcat/config.h
@@ -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