summaryrefslogtreecommitdiff
path: root/keyboards/jadookb
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/jadookb')
-rw-r--r--keyboards/jadookb/jkb2/config.h21
-rw-r--r--keyboards/jadookb/jkb2/info.json5
-rw-r--r--keyboards/jadookb/jkb65/config.h3
-rw-r--r--keyboards/jadookb/jkb65/r1/config.h20
-rw-r--r--keyboards/jadookb/jkb65/r1/info.json5
-rw-r--r--keyboards/jadookb/jkb65/r2/config.h20
-rw-r--r--keyboards/jadookb/jkb65/r2/info.json7
7 files changed, 16 insertions, 65 deletions
diff --git a/keyboards/jadookb/jkb2/config.h b/keyboards/jadookb/jkb2/config.h
deleted file mode 100644
index 0c4b365932..0000000000
--- a/keyboards/jadookb/jkb2/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
- /* Copyright 2021 Wizard-GG
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-#pragma once
-
-#define MATRIX_ROW_PINS { B1 }
-#define MATRIX_COL_PINS { B3 ,B2}
-
-#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/jadookb/jkb2/info.json b/keyboards/jadookb/jkb2/info.json
index 0a72e6b7bc..b0b1c9792c 100644
--- a/keyboards/jadookb/jkb2/info.json
+++ b/keyboards/jadookb/jkb2/info.json
@@ -8,6 +8,11 @@
"pid": "0x3225",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B3", "B2"],
+ "rows": ["B1"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/jadookb/jkb65/config.h b/keyboards/jadookb/jkb65/config.h
index 00bc0c3488..2ef7a6cf7b 100644
--- a/keyboards/jadookb/jkb65/config.h
+++ b/keyboards/jadookb/jkb65/config.h
@@ -16,9 +16,6 @@
#pragma once
-
-#define DIODE_DIRECTION COL2ROW
-
#define RGB_DI_PIN F0
#define RGB_MATRIX_LED_COUNT 67
diff --git a/keyboards/jadookb/jkb65/r1/config.h b/keyboards/jadookb/jkb65/r1/config.h
deleted file mode 100644
index 78f13414c9..0000000000
--- a/keyboards/jadookb/jkb65/r1/config.h
+++ /dev/null
@@ -1,20 +0,0 @@
- /* Copyright 2022 Wizad-GG
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#define MATRIX_ROW_PINS { E6, B7, F7, F4, F5 }
-#define MATRIX_COL_PINS { F6,B1,F1,C7,C6,B6,B5,B4,D7,B3,D4,D5,D3,D2,D1,D0 } \ No newline at end of file
diff --git a/keyboards/jadookb/jkb65/r1/info.json b/keyboards/jadookb/jkb65/r1/info.json
index 4bfe3aa763..9cf153f928 100644
--- a/keyboards/jadookb/jkb65/r1/info.json
+++ b/keyboards/jadookb/jkb65/r1/info.json
@@ -1,5 +1,10 @@
{
"keyboard_name": "JKB65 RGB R1",
+ "matrix_pins": {
+ "cols": ["F6", "B1", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "B3", "D4", "D5", "D3", "D2", "D1", "D0"],
+ "rows": ["E6", "B7", "F7", "F4", "F5"]
+ },
+ "diode_direction": "COL2ROW",
"usb": {
"device_version": "0.0.1"
}
diff --git a/keyboards/jadookb/jkb65/r2/config.h b/keyboards/jadookb/jkb65/r2/config.h
deleted file mode 100644
index 5db93f75cb..0000000000
--- a/keyboards/jadookb/jkb65/r2/config.h
+++ /dev/null
@@ -1,20 +0,0 @@
- /* Copyright 2022 Wizad-GG
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#define MATRIX_ROW_PINS { E6, B7, F7, F4, F5 }
-#define MATRIX_COL_PINS { F6,B0,F1,C7,C6,B6,B5,B4,D7,D6,D4,D5,D3,D2,D1,D0 } \ No newline at end of file
diff --git a/keyboards/jadookb/jkb65/r2/info.json b/keyboards/jadookb/jkb65/r2/info.json
index 8a23a21d5f..909efbd665 100644
--- a/keyboards/jadookb/jkb65/r2/info.json
+++ b/keyboards/jadookb/jkb65/r2/info.json
@@ -2,5 +2,10 @@
"keyboard_name": "JKB65 RGB R2",
"usb": {
"device_version": "0.0.2"
- }
+ },
+ "matrix_pins": {
+ "cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"],
+ "rows": ["E6", "B7", "F7", "F4", "F5"]
+ },
+ "diode_direction": "COL2ROW"
}