summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorKonstantin Đorđević <vomindoraan@gmail.com>2019-09-05 05:38:54 +0200
committerfauxpark <fauxpark@gmail.com>2019-09-05 13:38:54 +1000
commit6d191635d08f8d1b4be12786c2e0158bd6674f28 (patch)
tree2ec85ead91befb8064dbb9f55f9d9428c5446280 /users
parentdf5b2d204be8c35f5d967b4c3d9f84c7e74373de (diff)
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
Diffstat (limited to 'users')
-rw-r--r--users/konstantin/konstantin.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/users/konstantin/konstantin.c b/users/konstantin/konstantin.c
index 98b11b3a91..9cee25ac66 100644
--- a/users/konstantin/konstantin.c
+++ b/users/konstantin/konstantin.c
@@ -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