increase timeout for dual mode caps key

This commit is contained in:
lucwastiaux 2017-02-01 13:46:00 +08:00
parent f6feee8167
commit 467e284178

View file

@ -374,7 +374,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
break; break;
case DUAL_CAPSLOCK: case DUAL_CAPSLOCK:
if (record->event.pressed) { if (record->event.pressed) {
if(timer_elapsed(capslock_timer) < 100) { if(timer_elapsed(capslock_timer) < 300) {
// activate SHELL_NAV // activate SHELL_NAV
layer_on(SHELL_NAV); layer_on(SHELL_NAV);
} else { } else {