From 2cdf99ae950a82e233482347651b7689c4896827 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 14 Feb 2023 18:39:41 +1100 Subject: Migrate `DIRECT_PINS` to data driven (#19826) --- keyboards/ungodly/nines/config.h | 12 ------------ keyboards/ungodly/nines/info.json | 7 +++++++ 2 files changed, 7 insertions(+), 12 deletions(-) (limited to 'keyboards/ungodly/nines') diff --git a/keyboards/ungodly/nines/config.h b/keyboards/ungodly/nines/config.h index 2375d9b63f..85880e4e63 100644 --- a/keyboards/ungodly/nines/config.h +++ b/keyboards/ungodly/nines/config.h @@ -15,18 +15,6 @@ */ #pragma once - -/* key matrix size */ -#define MATRIX_ROWS 3 -#define MATRIX_COLS 3 - -/* Keyboard Matrix Assignments */ -#define DIRECT_PINS { \ - { F4, F5, F6 }, \ - { F7, B1, B3 }, \ - { B2, B6, B5 } \ -} - /* Rotary Encoder Assignments */ #define ENCODERS_PAD_A { C6, E6 } #define ENCODERS_PAD_B { D7, B4 } diff --git a/keyboards/ungodly/nines/info.json b/keyboards/ungodly/nines/info.json index ee71e97cf5..1e7dabe367 100644 --- a/keyboards/ungodly/nines/info.json +++ b/keyboards/ungodly/nines/info.json @@ -10,6 +10,13 @@ }, "processor": "atmega32u4", "bootloader": "caterina", + "matrix_pins": { + "direct": [ + ["F4", "F5", "F6"], + ["F7", "B1", "B3"], + ["B2", "B6", "B5"] + ] + }, "layouts": { "LAYOUT_ortho_3x3": { "layout": [ -- cgit v1.2.3