diff options
author | Ryan <[email protected]> | 2023-03-10 22:16:56 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-10 22:16:56 +1100 |
commit | dd086a51d82a574a55eb3b89e8943301d72296f3 (patch) | |
tree | db49e94d90e9f3a8a6cf72a9da0d5549dd2a9bcb /keyboards/latincompass/latin6rgb | |
parent | 80661e5f1981af4d50a32d41e136e9586d5f5a43 (diff) | |
download | qmk_firmware-dd086a51d82a574a55eb3b89e8943301d72296f3.tar.gz qmk_firmware-dd086a51d82a574a55eb3b89e8943301d72296f3.zip |
Move matrix config to info.json, part 2 (#19987)
Diffstat (limited to 'keyboards/latincompass/latin6rgb')
-rw-r--r-- | keyboards/latincompass/latin6rgb/config.h | 18 | ||||
-rw-r--r-- | keyboards/latincompass/latin6rgb/info.json | 5 |
2 files changed, 5 insertions, 18 deletions
diff --git a/keyboards/latincompass/latin6rgb/config.h b/keyboards/latincompass/latin6rgb/config.h index 3d04d581ce..1a6518c897 100644 --- a/keyboards/latincompass/latin6rgb/config.h +++ b/keyboards/latincompass/latin6rgb/config.h @@ -17,24 +17,6 @@ #pragma once -/* USB Device descriptor parameter */ - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_ROW_PINS {C7, C6 } -#define MATRIX_COL_PINS {F7, F6, F5} - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION ROW2COL - #ifdef RGB_MATRIX_ENABLE # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended # define RGB_MATRIX_KEYPRESSES diff --git a/keyboards/latincompass/latin6rgb/info.json b/keyboards/latincompass/latin6rgb/info.json index 2ab390e119..8dcc401b98 100644 --- a/keyboards/latincompass/latin6rgb/info.json +++ b/keyboards/latincompass/latin6rgb/info.json @@ -8,6 +8,11 @@ "pid": "0x7C96", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F7", "F6", "F5"], + "rows": ["C7", "C6"] + }, + "diode_direction": "ROW2COL", "processor": "atmega32u4", "bootloader": "atmel-dfu", "debounce": 3, |