mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-23 11:52:59 +00:00
Apply suggestions from code review
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
parent
f7d67f60f3
commit
36cd9a5afb
@ -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))------------------------------------------------------------------------------
|
||||||
|
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user