]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
[Keymap] Set a short TAP_CODE_DELAY so media keys work (#6097)
authorJonathan Rascher <jon@bcat.name>
Fri, 7 Jun 2019 19:58:23 +0000 (14:58 -0500)
committerDrashna Jaelre <drashna@live.com>
Fri, 7 Jun 2019 19:58:23 +0000 (12:58 -0700)
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.

users/bcat/config.h

index a29aded713e705e156ea8e2acacef5758ae08d4d..c5f731b739a067e9fb4dbd7d51e0f06acb5ba51a 100644 (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