Files
qmk_userspace/keyboards/atreus/keymaps/custom/permissive_hold.h
Fabrice Mouhartem 9ecb54aea0
Some checks failed
Build QMK firmware / QMK Userspace Build (push) Has been cancelled
Build QMK firmware / QMK Userspace Publish (push) Has been cancelled
Add atreus keyboard
2025-07-13 11:38:28 +02:00

14 lines
426 B
C

bool get_permissive_hold(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case LT(1,KC_SPC):
case LT(2,KC_ENT):
case RALT_T(KC_ESC):
case LT(1,KC_TAB):
// Immediately select the hold action when another key is tapped.
return true;
default:
// Do not select the hold action when another key is tapped.
return false;
}
}