]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Make Caps Lock delay more reasonable (#6199)
authorDrashna Jaelre <drashna@live.com>
Tue, 16 Jul 2019 08:21:52 +0000 (01:21 -0700)
committerskullydazed <skullydazed@users.noreply.github.com>
Tue, 16 Jul 2019 08:21:52 +0000 (01:21 -0700)
* Make Caps Lock delay more reasonable

* Update documentation

* Update docs/config_options.md

Co-Authored-By: Konstantin Đorđević <vomindoraan@gmail.com>
* Update docs/config_options.md

Co-Authored-By: Konstantin Đorđević <vomindoraan@gmail.com>
docs/config_options.md
tmk_core/common/action.c

index 33cb8da9bd7aa5b61049f93e87b88264c427cde6..3012dcdcff53d30b231d69e71dc14ad95fc8e055 100644 (file)
@@ -171,8 +171,8 @@ If you define these options you will enable the associated feature, which may in
   * how long for the Combo keys to be detected. Defaults to `TAPPING_TERM` if not defined.
 * `#define TAP_CODE_DELAY 100`
   * Sets the delay between `register_code` and `unregister_code`, if you're having issues with it registering properly (common on VUSB boards). The value is in milliseconds.
-* `#define TAP_HOLD_CAPS_DELAY 200`
-  * Sets the delay for Tap Hold keys (`LT`, `MT`) when using `KC_CAPSLOCK` keycode, as this has some special handling on MacOS.  The value is in milliseconds, and defaults to 200ms if not defined. 
+* `#define TAP_HOLD_CAPS_DELAY 80`
+  * Sets the delay for Tap Hold keys (`LT`, `MT`) when using `KC_CAPSLOCK` keycode, as this has some special handling on MacOS.  The value is in milliseconds, and defaults to 80 ms if not defined. For macOS, you may want to set this to 200 or higher.
 
 ## RGB Light Configuration
 
index 6a560229a694b6fc848cbca961e77578e332e3ec..285786cb7c22edd2b53a0ecebd1c3f47c8cdd14f 100644 (file)
@@ -45,7 +45,7 @@ int retro_tapping_counter = 0;
 #endif
 
 #ifndef TAP_HOLD_CAPS_DELAY
-#  define TAP_HOLD_CAPS_DELAY 200
+#  define TAP_HOLD_CAPS_DELAY 80
 #endif
 /** \brief Called to execute an action.
  *