Add personal Doro67 multi keymap, fix bug in KBD6X keymap (#6674)

* Add missing void parameter declarations to *_light functions

* Add doro67/multi:konstantin keymap

* Allow FNLK to be canceled with Esc

* Function layer → Fn layer in keymap comments
This commit is contained in:
Konstantin Đorđević 2019-09-05 05:38:54 +02:00 committed by fauxpark
parent df5b2d204b
commit 6d191635d0
8 changed files with 95 additions and 8 deletions

View file

@ -36,9 +36,15 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
#ifdef LAYER_FN
static bool fn_lock = false;
case FNLK:
if (record->event.pressed) {
fn_lock = !IS_LAYER_ON(L_FN); // Fn layer will be toggled after this
}
break;
case FN_FNLK:
if (record->event.pressed && record->tap.count == TAPPING_TOGGLE) {
fn_lock = !IS_LAYER_ON(L_FN); // Fn layer will be toggled after this
fn_lock = !IS_LAYER_ON(L_FN);
}
break;
#endif