mirror of
https://github.com/qmk/qmk_userspace.git
synced 2026-04-22 11:30:23 -04:00
Disable retro tapping on GU_BSP to fix spurious backspace after Cmd+click in Figma
Agent-Logs-Url: https://github.com/timfee/qmk_userspace/sessions/f1a0d611-da80-4c58-a482-1ddc3acb083f Co-authored-by: timfee <3246342+timfee@users.noreply.github.com>
This commit is contained in:
parent
ea7d94b9a0
commit
48c207c135
2 changed files with 3 additions and 7 deletions
|
|
@ -7,8 +7,6 @@
|
||||||
#define QUICK_TAP_TERM_PER_KEY
|
#define QUICK_TAP_TERM_PER_KEY
|
||||||
#define PERMISSIVE_HOLD_PER_KEY
|
#define PERMISSIVE_HOLD_PER_KEY
|
||||||
#define HOLD_ON_OTHER_KEY_PRESS_PER_KEY
|
#define HOLD_ON_OTHER_KEY_PRESS_PER_KEY
|
||||||
#define RETRO_TAPPING
|
|
||||||
#define RETRO_TAPPING_PER_KEY
|
|
||||||
|
|
||||||
// ── Combos ──
|
// ── Combos ──
|
||||||
#define COMBO_COUNT 8
|
#define COMBO_COUNT 8
|
||||||
|
|
|
||||||
|
|
@ -294,12 +294,10 @@ bool get_hold_on_other_key_press(uint16_t keycode, keyrecord_t *record) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ── Per-key retro tapping (yeet only) ──
|
// ── Per-key retro tapping — disabled to prevent unintended tap action
|
||||||
|
// firing after modifier-only holds (e.g. Cmd+click in apps like Figma) ──
|
||||||
bool get_retro_tapping(uint16_t keycode, keyrecord_t *record) {
|
bool get_retro_tapping(uint16_t keycode, keyrecord_t *record) {
|
||||||
switch (keycode) {
|
return false;
|
||||||
case GU_BSP: return true;
|
|
||||||
default: return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ── Per-key quick tap term ──
|
// ── Per-key quick tap term ──
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue