Tap for ;, hold for GUI, tap for ", hold for Alt
parent
3d86e5b7a7
commit
ef83f1d04f
|
@ -62,6 +62,8 @@ enum macro_keycodes {
|
||||||
#define CTL_ESC CTL_T(KC_ESC) // Tap for Esc, hold for Ctrl
|
#define CTL_ESC CTL_T(KC_ESC) // Tap for Esc, hold for Ctrl
|
||||||
#define SFT_ENT SFT_T(KC_ENT) // Tap for Enter, hold for Shift
|
#define SFT_ENT SFT_T(KC_ENT) // Tap for Enter, hold for Shift
|
||||||
#define HPR_TAB ALL_T(KC_TAB) // Tap for Tab, hold for Hyper
|
#define HPR_TAB ALL_T(KC_TAB) // Tap for Tab, hold for Hyper
|
||||||
|
#define GUI_SEM GUI_T(KC_SCLN) // Tap for Semicolon, hold for GUI
|
||||||
|
#define ALT_QUO ALT_T(KC_QUOT) // Tap for Quote, hold for Alt
|
||||||
// Requires KC_TRNS/_______ for the trigger key in the destination layer
|
// Requires KC_TRNS/_______ for the trigger key in the destination layer
|
||||||
#define LT_TC LT(_TOUCHCURSOR, KC_SPC) // L-ayer T-ap T-ouch C-ursor
|
#define LT_TC LT(_TOUCHCURSOR, KC_SPC) // L-ayer T-ap T-ouch C-ursor
|
||||||
#define LT_MC(kc) LT(_MOUSECURSOR, kc) // L-ayer T-ap M-ouse C-ursor
|
#define LT_MC(kc) LT(_MOUSECURSOR, kc) // L-ayer T-ap M-ouse C-ursor
|
||||||
|
@ -87,7 +89,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
* ,-----------------------------------------------------------------------------------------.
|
* ,-----------------------------------------------------------------------------------------.
|
||||||
* | Hyper/Tab| Q | W | E | R | T | Y | U | I | O | P | Bksp |
|
* | Hyper/Tab| Q | W | E | R | T | Y | U | I | O | P | Bksp |
|
||||||
* |----------+------+------+------+------+-------------+------+------+------+------+--------|
|
* |----------+------+------+------+------+-------------+------+------+------+------+--------|
|
||||||
* | Ctrl/Esc | A | S | MC/D | F | G | H | J | K | L | ; | " |
|
* | Ctrl/Esc | A | S | MC/D | F | G | H | J | K | L |GUI/; | Alt/" |
|
||||||
* |----------+------+------+------+------+------|------+------+------+------+------+--------|
|
* |----------+------+------+------+------+------|------+------+------+------+------+--------|
|
||||||
* | Shift | Z | X | C | V | B | N | M | , | . | / |Sft/Ent |
|
* | Shift | Z | X | C | V | B | N | M | , | . | / |Sft/Ent |
|
||||||
* |----------+------+------+------+------+------+------+------+------+------+------+--------|
|
* |----------+------+------+------+------+------+------+------+------+------+------+--------|
|
||||||
|
@ -96,7 +98,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
*/
|
*/
|
||||||
[_QWERTY] = {
|
[_QWERTY] = {
|
||||||
{HPR_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC},
|
{HPR_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC},
|
||||||
{CTL_ESC, KC_A, KC_S, LT_MC(KC_D),KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT},
|
{CTL_ESC, KC_A, KC_S, LT_MC(KC_D),KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, GUI_SEM, ALT_QUO},
|
||||||
{KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SFT_ENT},
|
{KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SFT_ENT},
|
||||||
{KC_PSCR, KC_RGUI, KC_LALT, KC_LGUI, LOWER, LT_TC, LT_TC, RAISE, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY}
|
{KC_PSCR, KC_RGUI, KC_LALT, KC_LGUI, LOWER, LT_TC, LT_TC, RAISE, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY}
|
||||||
},
|
},
|
||||||
|
|
|
@ -18,9 +18,11 @@ I also decided to change all calls to `persistant_default_layer_set()` to
|
||||||
These base layers are mostly the same as the default mappings. The interesting
|
These base layers are mostly the same as the default mappings. The interesting
|
||||||
changes are shown below.
|
changes are shown below.
|
||||||
|
|
||||||
- The `Ctrl/Esc`, will emit an `Escape` when tapped, and act as a `Control` key when held.
|
- The `Ctrl/Esc`, will emit an `Escape` when tapped, and act as a `Control` key when held,
|
||||||
- The `Sft/Ent` as `Enter` and `Shift`, and
|
- `GUI/;` as `;` and `GUI`,
|
||||||
- The `Hyper/Tab` as `Tab` and `Hyper`
|
- `Alt/"` as `"` and `Alt`,
|
||||||
|
- `Sft/Ent` as `Enter` and `Shift`, and
|
||||||
|
- `Hyper/Tab` as `Tab` and `Hyper`
|
||||||
|
|
||||||
A `TODO` item is to see if it can also act as a `CapsLock` when double-tapped.
|
A `TODO` item is to see if it can also act as a `CapsLock` when double-tapped.
|
||||||
The arrow keys, which have been moved to the
|
The arrow keys, which have been moved to the
|
||||||
|
@ -32,7 +34,7 @@ when tapped.
|
||||||
,-----------------------------------------------------------------------------------------.
|
,-----------------------------------------------------------------------------------------.
|
||||||
| Hyper/Tab| | | | | | | | | | | |
|
| Hyper/Tab| | | | | | | | | | | |
|
||||||
|----------+------+------+------+------+-------------+------+------+------+------+--------|
|
|----------+------+------+------+------+-------------+------+------+------+------+--------|
|
||||||
| Ctrl/Esc | | |MC/kc | | | | | | | | |
|
| Ctrl/Esc | | |MC/kc | | | | | | |GUI/; | Alt/" |
|
||||||
|----------+------+------+------+------+------|------+------+------+------+------+--------|
|
|----------+------+------+------+------+------|------+------+------+------+------+--------|
|
||||||
| | | | | | | | | | | |Sft/Ent |
|
| | | | | | | | | | | |Sft/Ent |
|
||||||
|----------+------+------+------+------+------+------+------+------+------+------+--------|
|
|----------+------+------+------+------+------+------+------+------+------+------+--------|
|
||||||
|
|
Loading…
Reference in New Issue