Workaround for the macOS caps lock delay (#1308)

* Add 80ms delay for KC_CAPS when used as a tap key

Workaround for the macOS caps lock delay

* Revert "Increase TAPPING_TERM for the Clueboard"

This reverts commit a74e69e9fa.
This commit is contained in:
jerryen
2017-05-19 17:24:47 -07:00
committed by skullydazed
parent 85df687348
commit 9c284786e7
2 changed files with 4 additions and 10 deletions

View File

@@ -42,16 +42,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
/* How long a "key tap" is. Used in functions like LT() and macros to determine
* how long QMK "holds down" a tapped key.
*
* If you are macOS this should be at least 500ms to avoid macOS's accidental
* Caps Lock activation prevention measures, as noted by /u/JerryEn here:
*
* https://www.reddit.com/r/clueboard/comments/6bfc2m/lt_not_working_with_caps_lock/dhmbp88/
*/
#define TAPPING_TERM 600 // ms
/*
* Feature disable options
* These options are also useful to firmware size reduction.