diff options
author | luroc <[email protected]> | 2025-06-14 05:11:58 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2025-06-13 21:11:58 -0600 |
commit | 7ecdb574147fb67a89c46609161ca08891a103c0 (patch) | |
tree | db16661b03421592735c1e94e42dbaeb798351d7 | |
parent | dcdd0372768e3a430b9aab19ee0dad75cf2079d9 (diff) | |
download | qmk_firmware-7ecdb574147fb67a89c46609161ca08891a103c0.tar.gz qmk_firmware-7ecdb574147fb67a89c46609161ca08891a103c0.zip |
[Docs] Fix example code on key_overrides.md (#25367)
The description of the code snippet says right alt, but the snippet itself contained the right control keycode
-rw-r--r-- | docs/features/key_overrides.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/features/key_overrides.md b/docs/features/key_overrides.md index 9b6015175c..e83f0295ab 100644 --- a/docs/features/key_overrides.md +++ b/docs/features/key_overrides.md @@ -135,11 +135,11 @@ bool momentary_layer(bool key_down, void *layer) { return false; } -const key_override_t fn_override = {.trigger_mods = MOD_BIT(KC_RGUI) | MOD_BIT(KC_RCTL), // +const key_override_t fn_override = {.trigger_mods = MOD_BIT(KC_RGUI) | MOD_BIT(KC_RALT), // .layers = ~(1 << LAYER_FN), // - .suppressed_mods = MOD_BIT(KC_RGUI) | MOD_BIT(KC_RCTL), // + .suppressed_mods = MOD_BIT(KC_RGUI) | MOD_BIT(KC_RALT), // .options = ko_option_no_unregister_on_other_key_down, // - .negative_mod_mask = (uint8_t) ~(MOD_BIT(KC_RGUI) | MOD_BIT(KC_RCTL)), // + .negative_mod_mask = (uint8_t) ~(MOD_BIT(KC_RGUI) | MOD_BIT(KC_RALT)), // .custom_action = momentary_layer, // .context = (void *)LAYER_FN, // .trigger = KC_NO, // |