From 53f13eda4239610b087e270bba467ab375f18d23 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Wed, 19 Dec 2018 18:32:54 -0500 Subject: [PATCH] left side working with matrix --- keyboards/moonlander/config.h | 16 ++++++++-------- keyboards/moonlander/rules.mk | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/keyboards/moonlander/config.h b/keyboards/moonlander/config.h index dbe2099a5b..cf2f8e8e01 100644 --- a/keyboards/moonlander/config.h +++ b/keyboards/moonlander/config.h @@ -28,19 +28,19 @@ along with this program. If not, see . #define DEVICE_VER 0x0001 /* key matrix size */ -#define MATRIX_ROWS 6 +#define MATRIX_ROWS 12 #define MATRIX_COLS 7 /* Planck PCB default pin-out */ -#define MATRIX_ROW_PINS { B10, B11, B12, B13, B14, B15 } -#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6 } +// #define MATRIX_ROW_PINS { B10, B11, B12, B13, B14, B15 } +// #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6 } -#define MCP23_ROW_PINS { GPB5, GBP4, GBP3, GBP2, GBP1, GBP0 } -#define MCP23_COL_PINS { GPA0, GBA1, GBA2, GBA3, GBA4, GBA5, GBA6 } +// #define MCP23_ROW_PINS { GPB5, GBP4, GBP3, GBP2, GBP1, GBP0 } +// #define MCP23_COL_PINS { GPA0, GBA1, GBA2, GBA3, GBA4, GBA5, GBA6 } -#define MCP23_LED_R GPB7 -#define MCP23_LED_G GPB6 -#define MCP23_LED_B GPA7 +// #define MCP23_LED_R GPB7 +// #define MCP23_LED_G GPB6 +// #define MCP23_LED_B GPA7 /* COL2ROW or ROW2COL */ diff --git a/keyboards/moonlander/rules.mk b/keyboards/moonlander/rules.mk index 1dbbc6811a..46072f928d 100644 --- a/keyboards/moonlander/rules.mk +++ b/keyboards/moonlander/rules.mk @@ -1,5 +1,5 @@ # project specific files -#SRC = matrix.c +SRC = matrix.c #LAYOUTS += ortho_4x12 # Cortex version @@ -17,7 +17,7 @@ CONSOLE_ENABLE = yes # Console for debug COMMAND_ENABLE = yes # Commands for debug and configuration #SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend NKRO_ENABLE = yes # USB Nkey Rollover -#CUSTOM_MATRIX = yes # Custom matrix file +CUSTOM_MATRIX = yes # Custom matrix file AUDIO_ENABLE = no RGBLIGHT_ENABLE = no # SERIAL_LINK_ENABLE = yes