Extend range of tappable keycodes

This commit is contained in:
Richard Baptist 2019-06-14 10:38:49 +02:00
parent 2fd58038be
commit ec7a5d3d71
No known key found for this signature in database
GPG Key ID: 115D8B1815981F35

View File

@ -952,7 +952,7 @@ bool is_tap_action(action_t action)
case ACT_LAYER_TAP:
case ACT_LAYER_TAP_EXT:
switch (action.layer_tap.code) {
case 0x00 ... 0xdf:
case 0x00 ... 0xE7:
case OP_TAP_TOGGLE:
case OP_ONESHOT:
return true;
@ -960,7 +960,7 @@ bool is_tap_action(action_t action)
return false;
case ACT_SWAP_HANDS:
switch (action.swap.code) {
case 0x00 ... 0xdf:
case 0x00 ... 0xE7:
case OP_SH_TAP_TOGGLE:
return true;
}