feat(q5_max): CAPS_MOD — multi-function CapsLock key with CapsWord, Autocorrect, and RGB indicators #4

Merged
rootiest merged 10 commits from feat/caps-mod into feat/layer-control 2026-04-08 04:50:37 +00:00
Owner

Summary

  • Replaces KC_CAPS across all layers with a new CAPS_MOD custom keycode that multiplexes ESC, Ctrl, CapsLock, CapsWord, and Autocorrect onto a single key
  • Enables CAPS_WORD and AUTOCORRECT QMK features
  • Adds RGB indicator on LED 55 to show CapsWord / Autocorrect / CapsLock state

Details

CAPS_MOD Tap/Hold Behaviour

Action Result
Tap ESC
Hold Left Ctrl
Shift + Tap CapsLock toggle
Alt + Tap CapsWord toggle
GUI + Tap Autocorrect toggle

RGB Indicator (LED 55)

State Colour
CapsWord active Green
CapsLock active Red
Autocorrect OFF Purple
All off Dark

Autocorrect indicator is inverted (lights purple when OFF) so there is always a visible reminder when autocorrect has been disabled.

Feature Enablement

  • CAPS_WORD_ENABLE = yes added to rules.mk
  • AUTOCORRECT_ENABLE = yes added to rules.mk
  • AUTOCORRECT_MIN_LENGTH sourced from autocorrect_data.h (duplicate define removed from config.h)

Commits

  • docs: add Caps Lock mod design spec
  • feat(q5_max): enable CAPS_WORD and AUTOCORRECT features
  • fix(q5_max): remove duplicate AUTOCORRECT_MIN_LENGTH define from config.h
  • docs: update capslock-mod plan to reflect autocorrect_data.h already defines AUTOCORRECT_MIN_LENGTH
  • feat(q5_max): add CAPS_MOD keycode and replace KC_CAPS in all layers
  • fix(q5_max): restore void casts for CAPS_MOD vars (QMK uses -Werror=unused-variable)
  • feat(q5_max): implement CAPS_MOD tap/hold logic (ESC/Ctrl/CapsLock/CapsWord/Autocorrect)
  • fix(q5_max): add clarifying comments to CAPS_MOD release handler
  • feat(q5_max): add RGB indicators for CapsWord/Autocorrect/CapsLock on LED 55
  • fix(q5_max): invert autocorrect LED indicator — purple when autocorrect is OFF
## Summary - Replaces `KC_CAPS` across all layers with a new `CAPS_MOD` custom keycode that multiplexes ESC, Ctrl, CapsLock, CapsWord, and Autocorrect onto a single key - Enables `CAPS_WORD` and `AUTOCORRECT` QMK features - Adds RGB indicator on LED 55 to show CapsWord / Autocorrect / CapsLock state ## Details ### CAPS_MOD Tap/Hold Behaviour | Action | Result | |--------|--------| | Tap | ESC | | Hold | Left Ctrl | | Shift + Tap | CapsLock toggle | | Alt + Tap | CapsWord toggle | | GUI + Tap | Autocorrect toggle | ### RGB Indicator (LED 55) | State | Colour | |-------|--------| | CapsWord active | Green | | CapsLock active | Red | | Autocorrect OFF | Purple | | All off | Dark | Autocorrect indicator is inverted (lights purple when OFF) so there is always a visible reminder when autocorrect has been disabled. ### Feature Enablement - `CAPS_WORD_ENABLE = yes` added to `rules.mk` - `AUTOCORRECT_ENABLE = yes` added to `rules.mk` - `AUTOCORRECT_MIN_LENGTH` sourced from `autocorrect_data.h` (duplicate define removed from `config.h`) ### Commits - `docs: add Caps Lock mod design spec` - `feat(q5_max): enable CAPS_WORD and AUTOCORRECT features` - `fix(q5_max): remove duplicate AUTOCORRECT_MIN_LENGTH define from config.h` - `docs: update capslock-mod plan to reflect autocorrect_data.h already defines AUTOCORRECT_MIN_LENGTH` - `feat(q5_max): add CAPS_MOD keycode and replace KC_CAPS in all layers` - `fix(q5_max): restore void casts for CAPS_MOD vars (QMK uses -Werror=unused-variable)` - `feat(q5_max): implement CAPS_MOD tap/hold logic (ESC/Ctrl/CapsLock/CapsWord/Autocorrect)` - `fix(q5_max): add clarifying comments to CAPS_MOD release handler` - `feat(q5_max): add RGB indicators for CapsWord/Autocorrect/CapsLock on LED 55` - `fix(q5_max): invert autocorrect LED indicator — purple when autocorrect is OFF`
rootiest added 10 commits 2026-04-08 04:35:22 +00:00
rootiest force-pushed feat/caps-mod from ed0267f4c6 to d2a67b2bb3 2026-04-08 04:48:18 +00:00 Compare
rootiest merged commit 5c0fb31e41 into feat/layer-control 2026-04-08 04:50:37 +00:00
Sign in to join this conversation.