forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: Format Space Cadet documentation (qmk#3540)
* Format Space Cadet documentation * Fix page filenames * Move Caveats section up
- Loading branch information
Showing
9 changed files
with
71 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Space Cadet Shift: The Future, Built In | ||
|
||
Steve Losh described the [Space Cadet Shift](http://stevelosh.com/blog/2012/10/a-modern-space-cadet/) quite well. Essentially, when you tap Left Shift on its own, you get an opening parenthesis; tap Right Shift on its own and you get the closing one. When held, the Shift keys function as normal. Yes, it's as cool as it sounds. | ||
|
||
## Usage | ||
|
||
Replace the Left Shift key in your keymap with `KC_LSPO` (Left Shift, Parenthesis Open), and Right Shift with `KC_RSPC` (Right Shift, Parenthesis Close). | ||
|
||
## Keycodes | ||
|
||
|Keycode |Description | | ||
|---------|--------------------------------------| | ||
|`KC_LSPO`|Left Shift when held, `(` when tapped | | ||
|`KC_RSPC`|Right Shift when held, `)` when tapped| | ||
|
||
## Caveats | ||
|
||
Space Cadet's functionality can conflict with the default Command functionality when both Shift keys are held at the same time. Make sure that Command is disabled in your `rules.mk` with: | ||
|
||
```make | ||
COMMAND_ENABLE = no | ||
``` | ||
|
||
## Configuration | ||
|
||
By default Space Cadet assumes a US ANSI layout, but if your layout uses different keys for parentheses, you can redefine them in your `config.h`. | ||
You can also disable the rollover, allowing you to use the opposite Shift key to cancel the Space Cadet state in the event of an erroneous press, instead of emitting a pair of parentheses when the keys are released. | ||
|
||
|Define |Default |Description | | ||
|------------------------------|-------------|------------------------------------------------------------| | ||
|`LSPO_KEY` |`KC_9` |The keycode to send when Left Shift is tapped | | ||
|`RSPC_KEY` |`KC_0` |The keycode to send when Right Shift is tapped | | ||
|`DISABLE_SPACE_CADET_ROLLOVER`|*Not defined*|If defined, use the opposite Shift key to cancel Space Cadet| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Space Cadet Shift Enter | ||
|
||
Based on the [Space Cadet Shift](feature_space_cadet_shift.md) feature. Tap the Shift key on its own, and it behaves like Enter. When held, the Shift functions as normal. | ||
|
||
## Usage | ||
|
||
Replace any Shift key in your keymap with `KC_SFTENT` (Shift, Enter), and you're done. | ||
|
||
## Keycodes | ||
|
||
|Keycode |Description | | ||
|-----------|----------------------------------------| | ||
|`KC_SFTENT`|Right Shift when held, Enter when tapped| | ||
|
||
## Caveats | ||
|
||
As with Space Cadet Shift, this feature may conflict with Command, so it should be disabled in your `rules.mk` with: | ||
|
||
```make | ||
COMMAND_ENABLE = no | ||
``` | ||
|
||
This feature also uses the same timers as Space Cadet Shift, so using them in tandem may produce strange results. | ||
|
||
## Configuration | ||
|
||
By default Space Cadet assumes a US ANSI layout, but if you'd like to use a different key for Enter, you can redefine it in your `config.h`: | ||
|
||
|Define |Default |Description | | ||
|------------|--------|------------------------------------------------| | ||
|`SFTENT_KEY`|`KC_ENT`|The keycode to send when the Shift key is tapped| |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters