summaryrefslogtreecommitdiff
path: root/keyboards/idobao
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-17 08:49:49 +1100
committerGitHub <noreply@github.com>2023-02-17 08:49:49 +1100
commitd784f78bd0a034c1d6085379615014fd701536ab (patch)
tree2b81c4e8848ebc8dece2ad9aaa8126d12a87825c /keyboards/idobao
parent7fad94ba2d5092abe451d0bbc95caaa37fec95bc (diff)
Move Bootmagic config to data driven (#19860)
Diffstat (limited to 'keyboards/idobao')
-rw-r--r--keyboards/idobao/id80/v2/config.h4
-rw-r--r--keyboards/idobao/id80/v2/info.json3
-rw-r--r--keyboards/idobao/id80/v3/ansi/config.h9
-rw-r--r--keyboards/idobao/id80/v3/ansi/info.json3
-rw-r--r--keyboards/idobao/id96/config.h4
-rw-r--r--keyboards/idobao/id96/info.json3
6 files changed, 9 insertions, 17 deletions
diff --git a/keyboards/idobao/id80/v2/config.h b/keyboards/idobao/id80/v2/config.h
index aab270a164..edb3fc8a3f 100644
--- a/keyboards/idobao/id80/v2/config.h
+++ b/keyboards/idobao/id80/v2/config.h
@@ -81,7 +81,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
#define RGBLIGHT_EFFECT_TWINKLE
#endif
-
-/* Bootmagic Lite key configuration: use the Esc key */
-#define BOOTMAGIC_LITE_ROW 0
-#define BOOTMAGIC_LITE_COLUMN 5
diff --git a/keyboards/idobao/id80/v2/info.json b/keyboards/idobao/id80/v2/info.json
index 5d874014a6..770242c95d 100644
--- a/keyboards/idobao/id80/v2/info.json
+++ b/keyboards/idobao/id80/v2/info.json
@@ -6,6 +6,9 @@
"vid": "0x6964",
"device_version": "0.0.1"
},
+ "bootmagic": {
+ "matrix": [0, 5]
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"features": {
diff --git a/keyboards/idobao/id80/v3/ansi/config.h b/keyboards/idobao/id80/v3/ansi/config.h
index 9518a5a7f8..bdabde0782 100644
--- a/keyboards/idobao/id80/v3/ansi/config.h
+++ b/keyboards/idobao/id80/v3/ansi/config.h
@@ -3,15 +3,6 @@
#pragma once
-
-/* --------------------------------
- * Bootmagic Lite key configuration
- * use the Esc key
- * -------------------------------- */
-
-#define BOOTMAGIC_LITE_ROW 0
-#define BOOTMAGIC_LITE_COLUMN 5
-
/* ----------------
* RGB Matrix stuff
* ---------------- */
diff --git a/keyboards/idobao/id80/v3/ansi/info.json b/keyboards/idobao/id80/v3/ansi/info.json
index fccff8efda..9797c60dfe 100644
--- a/keyboards/idobao/id80/v3/ansi/info.json
+++ b/keyboards/idobao/id80/v3/ansi/info.json
@@ -25,6 +25,9 @@
"pid": "0x0380",
"device_version": "3.0.0"
},
+ "bootmagic": {
+ "matrix": [0, 5]
+ },
"layouts": {
"LAYOUT_80_ansi": {
"layout": [
diff --git a/keyboards/idobao/id96/config.h b/keyboards/idobao/id96/config.h
index b1d73a1455..3d0baa4676 100644
--- a/keyboards/idobao/id96/config.h
+++ b/keyboards/idobao/id96/config.h
@@ -40,10 +40,6 @@
#define BACKLIGHT_BREATHING
#endif
-/* Set location for BootMagic key = [ESC] */
-#define BOOTMAGIC_LITE_ROW 5
-#define BOOTMAGIC_LITE_COLUMN 0
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/idobao/id96/info.json b/keyboards/idobao/id96/info.json
index 52ccc7b956..e2bc4ea581 100644
--- a/keyboards/idobao/id96/info.json
+++ b/keyboards/idobao/id96/info.json
@@ -8,6 +8,9 @@
"pid": "0x0096",
"device_version": "0.0.1"
},
+ "bootmagic": {
+ "matrix": [5, 0]
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {