diff options
author | Drashna Jaelre <drashna@live.com> | 2019-07-16 01:21:52 -0700 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2019-07-16 01:21:52 -0700 |
commit | f6651424a022d6209c39981f0cf45fd87660578c (patch) | |
tree | 632bd844ea78c93cd20a3a34e8fc6a96eb0b5311 | |
parent | 29e9caa82bdfe898dd7fca82fcecf0cae2374859 (diff) | |
download | qmk_firmware-f6651424a022d6209c39981f0cf45fd87660578c.tar.gz |
Make Caps Lock delay more reasonable (#6199)
* 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>
-rw-r--r-- | docs/config_options.md | 4 | ||||
-rw-r--r-- | tmk_core/common/action.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/config_options.md b/docs/config_options.md index 33cb8da9b..3012dcdcf 100644 --- a/docs/config_options.md +++ b/docs/config_options.md @@ -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 diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c index 6a560229a..285786cb7 100644 --- a/tmk_core/common/action.c +++ b/tmk_core/common/action.c @@ -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. * |