feat(docs): Add an example for combining just modifiers

This commit is contained in:
Albert Y 2023-06-06 10:08:46 +08:00
parent 5d9ae8fffa
commit a4359f3216

View file

@ -38,6 +38,8 @@ These functions take the form: `XX(code)`
- `&kp LS(A)` = `LEFT_SHIFT`+`A` (a capitalized **A**).
- They can be combined:
- `&kp LC(RA(B))` = `LEFT_CONTROL`+`RIGHT_ALT`+`B`
- Modifiers can be combined to activate two or more of them at the same time:
- `&kp LS(LALT)` = `LEFT_SHIFT` + `LEFT_ALT`
- Some basic codes already include a modifier function in their definition:
- `DOLLAR` = `LS(NUMBER_4)`
- There are left- and right-handed versions of each modifier (also see table above):