From 0137b0231957c0b2fde80ac0e2a769ba4cbd60e7 Mon Sep 17 00:00:00 2001 From: zvecr Date: Thu, 11 Apr 2019 19:51:55 +0100 Subject: 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 --- keyboards/40percentclub/nano/nano.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'keyboards/40percentclub/nano/nano.h') diff --git a/keyboards/40percentclub/nano/nano.h b/keyboards/40percentclub/nano/nano.h index ae297ac12..881309738 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 -- cgit v1.2.3