core: Modifiers can be used as tap key Fix #422
[tmk_keyboard.git] / tmk_core / common / action.c
index 3a3c4014f7d5b158ae5ed7a81de08d3715808cc3..83b044feb9915b4de30aaba64ad8e2f3d3bfe486 100644 (file)
@@ -535,7 +535,9 @@ bool is_tap_key(keypos_t key)
         case ACT_LAYER_TAP:
         case ACT_LAYER_TAP_EXT:
             switch (action.layer_tap.code) {
-                case 0x00 ... 0xdf:
+                case KC_A ... KC_EXSEL:
+                case KC_KP_00 ... KC_KP_HEXADECIMAL:
+                case KC_LCTRL ... KC_RGUI:
                 case OP_TAP_TOGGLE:
                     return true;
             }
Imprint / Impressum