Apply suggestions from code review

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Joel Challis 2024-11-22 11:53:45 +00:00 committed by GitHub
parent f7d67f60f3
commit 36cd9a5afb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -357,7 +357,7 @@ bool process_auto_mouse(uint16_t keycode, keyrecord_t* record) {
} }
// DF --------------------------------------------------------------------------------------------------------- // DF ---------------------------------------------------------------------------------------------------------
case QK_DEF_LAYER ... QK_DEF_LAYER_MAX: case QK_DEF_LAYER ... QK_DEF_LAYER_MAX:
// PD --------------------------------------------------------------------------------------------------------- // PDF --------------------------------------------------------------------------------------------------------
case QK_PERSISTENT_DEF_LAYER ... QK_PERSISTENT_DEF_LAYER_MAX: case QK_PERSISTENT_DEF_LAYER ... QK_PERSISTENT_DEF_LAYER_MAX:
# ifndef NO_ACTION_ONESHOT # ifndef NO_ACTION_ONESHOT
// OSL((AUTO_MOUSE_TARGET_LAYER))------------------------------------------------------------------------------ // OSL((AUTO_MOUSE_TARGET_LAYER))------------------------------------------------------------------------------

View File

@ -95,7 +95,7 @@ std::string generate_identifier(uint16_t kc) {
} else if (IS_QK_DEF_LAYER(kc)) { } else if (IS_QK_DEF_LAYER(kc)) {
s << "DF(" << +QK_DEF_LAYER_GET_LAYER(kc) << ")"; s << "DF(" << +QK_DEF_LAYER_GET_LAYER(kc) << ")";
} else if (IS_QK_PERSISTENT_DEF_LAYER(kc)) { } else if (IS_QK_PERSISTENT_DEF_LAYER(kc)) {
s << "PD(" << +QK_PERSISTENT_DEF_LAYER_GET_LAYER(kc) << ")"; s << "PDF(" << +QK_PERSISTENT_DEF_LAYER_GET_LAYER(kc) << ")";
} else if (IS_QK_TOGGLE_LAYER(kc)) { } else if (IS_QK_TOGGLE_LAYER(kc)) {
s << "TG(" << +QK_TOGGLE_LAYER_GET_LAYER(kc) << ")"; s << "TG(" << +QK_TOGGLE_LAYER_GET_LAYER(kc) << ")";
} else if (IS_QK_LAYER_TAP_TOGGLE(kc)) { } else if (IS_QK_LAYER_TAP_TOGGLE(kc)) {