diff options
author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2023-05-04 13:48:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 13:48:17 -0700 |
commit | a1e4b34aac5f79bb2bf2539abffc1825223440de (patch) | |
tree | 6e6c897910b1f22a7e622b4fda8947b65404b959 /keyboards/lefty/keymaps/default | |
parent | 1bb2ed773d33089bcdc5f5ea922bc461db792ac1 (diff) |
Lefty Touch-Up (#20714)
* rename LAYOUT_all to LAYOUT
* info.json: apply friendly formatting
* refactor keymaps
Diffstat (limited to 'keyboards/lefty/keymaps/default')
-rw-r--r-- | keyboards/lefty/keymaps/default/keymap.c | 57 |
1 files changed, 29 insertions, 28 deletions
diff --git a/keyboards/lefty/keymaps/default/keymap.c b/keyboards/lefty/keymaps/default/keymap.c index ecedbac390..e88edb63a5 100644 --- a/keyboards/lefty/keymaps/default/keymap.c +++ b/keyboards/lefty/keymaps/default/keymap.c @@ -30,35 +30,36 @@ enum layers { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[_QWERTY] = LAYOUT_all( - KC_UP, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, - KC_DOWN, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, - KC_RGHT, LOWER, KC_A, KC_S, KC_D, KC_F, KC_G, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, - KC_LCTL, KC_LALT, RAISE, SPECIAL -), + [_QWERTY] = LAYOUT( + KC_UP, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, + KC_DOWN, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, + KC_RGHT, LOWER, KC_A, KC_S, KC_D, KC_F, KC_G, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, + KC_LCTL, KC_LALT, RAISE, SPECIAL + ), -[_LOWER] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______ -), + [_LOWER] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______ + ), -[_RAISE] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______ -), + [_RAISE] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______ + ), + + [_SPECIAL] = LAYOUT( + _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______ + ) -[_SPECIAL] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______ -) }; |