]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - docs/feature_macros.md
Add user-overridable callback for cancelling UCIS input (#5564)
[qmk_firmware.git] / docs / feature_macros.md
index fe45016e3b9b0b6106b5b91789e7ac080c061ace..d81c3c65597879a65f9cdbc05640a7fdca2fca19 100644 (file)
@@ -230,7 +230,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 void matrix_scan_user(void) {     # The very important timer. 
   if (is_alt_tab_active) {
     if (timer_elapsed(alt_tab_timer) > 1000) {
-      unregister_code16(LALT(KC_TAB));
+      unregister_code(KC_LALT);
       is_alt_tab_active = false;
     }
   }