diff options
author | zvecr <git@zvecr.com> | 2019-04-11 19:51:55 +0100 |
---|---|---|
committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-04-11 11:51:55 -0700 |
commit | 0137b0231957c0b2fde80ac0e2a769ba4cbd60e7 (patch) | |
tree | 581ae59d969aa725bf0af268a09808f1f4ae7bbf /keyboards/40percentclub/nano/nano.h | |
parent | dc570b0b389d23b8ea8b46311294a7040b5e1e44 (diff) |
Port DIRECT_PINS from split_common/matrix.c to matrix.c (#5091)
* Port DIRECT_PINS from split_common/matrix.c to matrix.c
* Reorder matrix.c to remove foward declaration and match split_common/matrix.c
* Refactor nano to use DIRECT_PINS
* Reorder matrix.c to remove foward declaration and match split_common/matrix.c
* Add DIRECT_PINS documentation
* Reorder matrix.c to remove foward declaration and match split_common/matrix.c - fix logic from inherited from split_common
* Add DIRECT_PINS documentation - review comments
Diffstat (limited to 'keyboards/40percentclub/nano/nano.h')
-rw-r--r-- | keyboards/40percentclub/nano/nano.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/40percentclub/nano/nano.h b/keyboards/40percentclub/nano/nano.h index ae297ac12e..881309738b 100644 --- a/keyboards/40percentclub/nano/nano.h +++ b/keyboards/40percentclub/nano/nano.h @@ -2,10 +2,12 @@ #include "quantum.h" -#define LAYOUT( \ +#define LAYOUT_ortho_2x4( \ k01, k02, k03, k04, \ k05, k06, k07, k08 \ ) { \ { k01, k02, k03, k04 }, \ { k05, k06, k07, k08 } \ } + +#define LAYOUT LAYOUT_ortho_2x4 |