Skip to content

Commit eb5b24f

Browse files
authored
Add LM() keys to the list of keys disabled by NO_HAPTIC_MOD (#14181)
1 parent 5ce2bb8 commit eb5b24f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/feature_haptic_feedback.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ With the entry of `#define NO_HAPTIC_MOD` in config.h, the following keys will n
172172

173173
* Usual modifier keys such as Control/Shift/Alt/Gui (For example `KC_LCTRL`)
174174
* `MO()` momentary keys. See also [Layers](feature_layers.md).
175+
* `LM()` momentary keys with mod active.
175176
* `LT()` layer tap keys, when held to activate a layer. However when tapped, and the key is quickly released, and sends a keycode, haptic feedback is still triggered.
176177
* `TT()` layer tap toggle keys, when held to activate a layer. However when tapped `TAPPING_TOGGLE` times to permanently toggle the layer, on the last tap haptic feedback is still triggered.
177178
* `MT()` mod tap keys, when held to keep a usual modifier key pressed. However when tapped, and the key is quickly released, and sends a keycode, haptic feedback is still triggered. See also [Mod-Tap](mod_tap.md).

quantum/process_keycode/process_haptic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ __attribute__((weak)) bool get_haptic_enabled_key(uint16_t keycode, keyrecord_t
3232
break;
3333
case KC_LCTRL ... KC_RGUI:
3434
case QK_MOMENTARY ... QK_MOMENTARY_MAX:
35+
case QK_LAYER_MOD ... QK_LAYER_MOD_MAX:
3536
#endif
3637
#ifdef NO_HAPTIC_FN
3738
case KC_FN0 ... KC_FN31:

0 commit comments

Comments
 (0)