diff options
author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2021-08-16 10:17:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-16 03:17:25 -0700 |
commit | 0c6155ec42dd7ae00d2229962fe9dfc8adab7a4d (patch) | |
tree | 5548b58f59ffc7ae00b22f01d8528744bda8cf62 /keyboards/pimentoso/touhoupad/keymaps/default | |
parent | b512afc3471411ebdaef0f24614ef501b31ddb89 (diff) |
Pimentoso TouhouPad Layout Macro refactor (#14010)
* physically arrange layout macro, phase 1
Break the keymap up into rows.
* physically arrange layout macro, phase 2
Moves the Escape and Enter keys to the top row.
* refactor default keymap
- use QMK short-form keycodes
- grid align keycodes
* physically arrange layout macro, phase 3
Moves the X key (Bomb) to the bottom row.
* physically arrange layout macro, phase 4
Physically arrange the Escape and Enter keys.
* physically arrange layout macro, phase 5
Physically arrange the arrow keys.
* physically arrange layout macro, phase 6
Physically align the X (Bomb) key.
* align escape characters in layout macro
* info.json: apply human-friendly formatting
Diffstat (limited to 'keyboards/pimentoso/touhoupad/keymaps/default')
-rw-r--r-- | keyboards/pimentoso/touhoupad/keymaps/default/keymap.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/keyboards/pimentoso/touhoupad/keymaps/default/keymap.c b/keyboards/pimentoso/touhoupad/keymaps/default/keymap.c index 0d10055110..f47380e4dc 100644 --- a/keyboards/pimentoso/touhoupad/keymaps/default/keymap.c +++ b/keyboards/pimentoso/touhoupad/keymaps/default/keymap.c @@ -17,9 +17,17 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { LAYOUT( /* Base */ - KC_LSFT, KC_Z, KC_C, KC_X, KC_LEFT, KC_DOWN, KC_RIGHT, KC_UP, KC_ENT, LT(1, KC_ESC) + LT(1,KC_ESC), KC_ENT, + KC_LSFT, KC_Z, KC_C, + KC_UP, + KC_LEFT, KC_DOWN, KC_RGHT, + KC_X ), LAYOUT( /* RGB controls */ - KC_NO, KC_NO, KC_NO, KC_NO, RGB_TOG, RGB_VAD, RGB_MOD, RGB_VAI, KC_NO, KC_NO + KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, + RGB_VAI, + RGB_TOG, RGB_VAD, RGB_MOD, + KC_NO ) }; |