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