summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2023-04-23 18:57:23 +0000
committerQMK Bot <hello@qmk.fm>2023-04-23 18:57:23 +0000
commitce0555214ddf9322f883ec2d94e1ee39beab41ed (patch)
tree0716b4902cbb96d069b5a171273c1dfad0db0629 /docs
parent3e33ef0474620a2dd47c812bff56f4e430720659 (diff)
parente1afcda1c05f1004f7a19597d06a73e0bb73150a (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'docs')
-rw-r--r--docs/feature_advanced_keycodes.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/feature_advanced_keycodes.md b/docs/feature_advanced_keycodes.md
index 3da5e7b32f..171243301d 100644
--- a/docs/feature_advanced_keycodes.md
+++ b/docs/feature_advanced_keycodes.md
@@ -91,7 +91,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case KC_ESC:
// Detect the activation of only Left Alt
- if ((get_mods() & MOD_BIT(KC_LALT)) == MOD_BIT(KC_LALT)) {
+ if (get_mods() == MOD_BIT(KC_LALT)) {
if (record->event.pressed) {
// No need to register KC_LALT because it's already active.
// The Alt modifier will apply on this KC_TAB.