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/touhoupad.h | |
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/touhoupad.h')
-rw-r--r-- | keyboards/pimentoso/touhoupad/touhoupad.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/keyboards/pimentoso/touhoupad/touhoupad.h b/keyboards/pimentoso/touhoupad/touhoupad.h index 5a5f233e36..8c7bfc36e1 100644 --- a/keyboards/pimentoso/touhoupad/touhoupad.h +++ b/keyboards/pimentoso/touhoupad/touhoupad.h @@ -17,7 +17,12 @@ #include "quantum.h" -#define LAYOUT(k00, k01, k02, k03, k04, k05, k06, k07, k08, k09) \ -{ \ +#define LAYOUT( \ + k09, k08, \ + k00, k01, k02, \ + k07, \ + k04, k05, k06, \ + k03 \ +) { \ { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09 } \ } |