skylark-qmk/docs/feature_space_shift_cadet.md
Zach Richard 8a1e656099 new planck keymap, new feature - hybrid shift/enter action key (great for small keyboards!) (#2100)
* new planck keymap, new feature - hybrid shift/enter action key (great for small keyboards!)

* corrected documentation to specify rules.mk file instead of Makefile
2017-12-14 00:20:44 -05:00

1.2 KiB

Space Cadet Shift Enter: The future, built in

Based on the Space Cadet Shift by Steve Losh described Essentially, you hit the Shift on its own, and it acts as the enter key. When hit with other keys, the Shift key keeps working as it always does. Yes, it's as cool as it sounds. This solution works better than using a macro since the timers defined in quantum allow us to tell when another key is pressed, rather than just having a janky timer than results in accidental endlines.

To use it, use KC_SFTENT (Shift, Enter) for any Shift on your keymap.

It's defaulted to work on US keyboards, but if you'd like to use a different key for Enter, you can define those in your config.h like this:

#define SFTENT_KEY KC_ENT

The only other thing you're going to want to do is create a rules.mk in your keymap directory and set the following:

COMMAND_ENABLE   = no  # Commands for debug and configuration

This is just to keep the keyboard from going into command mode when you hold both Shift keys at the same time.

PLEASE NOTE: this feature uses the same timers as the Space Cadet Shift feature, so using them in tandem may produce unwanted results.