core: Modifiers can be used as tap key Fix #422

This commit is contained in:
tmk 2017-01-04 12:51:13 +09:00
parent 2e464737aa
commit c98e89f2d5
3 changed files with 16 additions and 13 deletions

View 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;
}