summaryrefslogtreecommitdiff
path: root/keyboards/akb
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-11 05:41:58 +1100
committerGitHub <noreply@github.com>2023-03-11 05:41:58 +1100
commite933e0411f442fa411d3d5ec488180fee241e2ef (patch)
treef091f00a1408d752389385ff793c2878ec99e368 /keyboards/akb
parent1022afa6c24a64c78d1c9be99a695ff5335876f7 (diff)
Move matrix config to info.json, part 5 (#20003)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/akb')
-rw-r--r--keyboards/akb/eb46/config.h37
-rw-r--r--keyboards/akb/eb46/info.json5
-rw-r--r--keyboards/akb/raine/config.h10
-rw-r--r--keyboards/akb/raine/info.json5
4 files changed, 10 insertions, 47 deletions
diff --git a/keyboards/akb/eb46/config.h b/keyboards/akb/eb46/config.h
deleted file mode 100644
index 3fa5884805..0000000000
--- a/keyboards/akb/eb46/config.h
+++ /dev/null
@@ -1,37 +0,0 @@
1/*
2Copyright 2019 Elliot Powell
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS \
32 { B5, B4, D7, B6 }
33#define MATRIX_COL_PINS \
34 { B0, B1, B2, B3, B7, D0, D1, D2, D3, D5, D4, D6, C6 }
35
36/* COL2ROW, ROW2COL*/
37#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/akb/eb46/info.json b/keyboards/akb/eb46/info.json
index ad1f03501a..d5c4312cc6 100644
--- a/keyboards/akb/eb46/info.json
+++ b/keyboards/akb/eb46/info.json
@@ -7,6 +7,11 @@
7 "pid": "0xFEED", 7 "pid": "0xFEED",
8 "device_version": "0.0.1" 8 "device_version": "0.0.1"
9 }, 9 },
10 "matrix_pins": {
11 "cols": ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "C6"],
12 "rows": ["B5", "B4", "D7", "B6"]
13 },
14 "diode_direction": "COL2ROW",
10 "processor": "atmega32u4", 15 "processor": "atmega32u4",
11 "bootloader": "atmel-dfu", 16 "bootloader": "atmel-dfu",
12 "layouts": { 17 "layouts": {
diff --git a/keyboards/akb/raine/config.h b/keyboards/akb/raine/config.h
index 1f717ab436..4ffa418a09 100644
--- a/keyboards/akb/raine/config.h
+++ b/keyboards/akb/raine/config.h
@@ -16,16 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/ 16*/
17#pragma once 17#pragma once
18 18
19
20/* key matrix pins */
21#define MATRIX_ROW_PINS \
22 { E6, C6, F7, B2, B0 }
23#define MATRIX_COL_PINS \
24 { F6, F5, F4, B1, F1, F0, B3, B7, D0, D1, D2, D3, D5, D4, D6, D7 }
25
26/* COL2ROW or ROW2COL */
27#define DIODE_DIRECTION COL2ROW
28
29/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 19/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
30#define LOCKING_SUPPORT_ENABLE 20#define LOCKING_SUPPORT_ENABLE
31/* Locking resynchronize hack */ 21/* Locking resynchronize hack */
diff --git a/keyboards/akb/raine/info.json b/keyboards/akb/raine/info.json
index f6f648e137..9fe50b25af 100644
--- a/keyboards/akb/raine/info.json
+++ b/keyboards/akb/raine/info.json
@@ -7,6 +7,11 @@
7 "pid": "0x6060", 7 "pid": "0x6060",
8 "device_version": "0.0.1" 8 "device_version": "0.0.1"
9 }, 9 },
10 "matrix_pins": {
11 "cols": ["F6", "F5", "F4", "B1", "F1", "F0", "B3", "B7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"],
12 "rows": ["E6", "C6", "F7", "B2", "B0"]
13 },
14 "diode_direction": "COL2ROW",
10 "processor": "atmega32u4", 15 "processor": "atmega32u4",
11 "bootloader": "atmel-dfu", 16 "bootloader": "atmel-dfu",
12 "layouts": { 17 "layouts": {