fl16: Fix display switch

Works already but sometimes opens the windows start menu.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
Daniel Schaefer
2023-04-18 15:01:10 +08:00
parent 6c1da1a6ab
commit da053f2cdc

View File

@@ -70,8 +70,8 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
register_code(KC_LGUI); register_code(KC_LGUI);
register_code(KC_P); register_code(KC_P);
} else { } else {
unregister_code(KC_LGUI);
unregister_code(KC_P); unregister_code(KC_P);
unregister_code(KC_LGUI);
} }
return false; // Skip all further processing of this key return false; // Skip all further processing of this key
default: default: