1
0
Fork 0
forked from forks/qmk_firmware

[Docs] Clarify CAPS_WORD behaviors (#18137)

Co-authored-by: precondition <57645186+precondition@users.noreply.github.com>
Co-authored-by: mmccoyd <mmccoyd@cs.berkley.edu>
Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
mmccoyd 2022-10-03 19:17:08 -07:00 committed by GitHub
parent dc52347461
commit 78c4907f34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,10 @@ It is often useful to type a single word in all capitals, for instance
abbreviations like "QMK", or in code, identifiers like `KC_SPC`. "Caps Word" is abbreviations like "QMK", or in code, identifiers like `KC_SPC`. "Caps Word" is
a modern alternative to Caps Lock: a modern alternative to Caps Lock:
* Letters are capitalized while active, and Caps Word automatically disables * While active, letters are capitalized and `-` becomes `_`. The `_` makes it easier
to type constant names (eg 'PROGRAM\_CONSTANTS').
* Caps Word automatically disables
itself at the end of the word. That is, it stops by default once a space or itself at the end of the word. That is, it stops by default once a space or
any key other than `KC_A`--`KC_Z`, `KC_0`--`KC_9`, `KC_MINS`, `KC_UNDS`, any key other than `KC_A`--`KC_Z`, `KC_0`--`KC_9`, `KC_MINS`, `KC_UNDS`,
`KC_DELETE`, or `KC_BACKSPACE` is pressed. Caps Word also disables itself if `KC_DELETE`, or `KC_BACKSPACE` is pressed. Caps Word also disables itself if