From b3b512219ac8698ed3eb68642550838434bd1e6c Mon Sep 17 00:00:00 2001 From: waffle87 <0x6a73@protonmail.com> Date: Sun, 23 Apr 2023 18:58:12 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20qmk/qmk?= =?UTF-8?q?=5Ffirmware@e1afcda1c05f1004f7a19597d06a73e0bb73150a=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- feature_advanced_keycodes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feature_advanced_keycodes.md b/feature_advanced_keycodes.md index 3da5e7b32f4..171243301d3 100644 --- a/feature_advanced_keycodes.md +++ b/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.