summaryrefslogtreecommitdiff
path: root/keyboards/gmmk
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/gmmk
parent7fad94ba2d5092abe451d0bbc95caaa37fec95bc (diff)
Move Bootmagic config to data driven (#19860)
Diffstat (limited to 'keyboards/gmmk')
-rw-r--r--keyboards/gmmk/gmmk2/p65/ansi/info.json3
-rw-r--r--keyboards/gmmk/gmmk2/p65/config.h4
-rw-r--r--keyboards/gmmk/gmmk2/p65/iso/info.json3
-rw-r--r--keyboards/gmmk/pro/config.h4
-rw-r--r--keyboards/gmmk/pro/rev1/ansi/info.json3
-rw-r--r--keyboards/gmmk/pro/rev1/iso/info.json3
-rw-r--r--keyboards/gmmk/pro/rev2/ansi/info.json3
-rw-r--r--keyboards/gmmk/pro/rev2/iso/info.json3
8 files changed, 18 insertions, 8 deletions
diff --git a/keyboards/gmmk/gmmk2/p65/ansi/info.json b/keyboards/gmmk/gmmk2/p65/ansi/info.json
index f8d8f19245..76e6e89925 100644
--- a/keyboards/gmmk/gmmk2/p65/ansi/info.json
+++ b/keyboards/gmmk/gmmk2/p65/ansi/info.json
@@ -8,6 +8,9 @@
"pid": "0x5045",
"device_version": "0.0.1"
},
+ "bootmagic": {
+ "matrix": [1, 3]
+ },
"processor": "WB32F3G71",
"bootloader": "wb32-dfu",
"layouts": {
diff --git a/keyboards/gmmk/gmmk2/p65/config.h b/keyboards/gmmk/gmmk2/p65/config.h
index 33403a2ded..68eebabe73 100644
--- a/keyboards/gmmk/gmmk2/p65/config.h
+++ b/keyboards/gmmk/gmmk2/p65/config.h
@@ -29,10 +29,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-/* Hold ESC on start up to clear EEPROM and boot into bootloader mode */
-#define BOOTMAGIC_LITE_ROW 1
-#define BOOTMAGIC_LITE_COLUMN 3
-
#define TAP_CODE_DELAY 10
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
diff --git a/keyboards/gmmk/gmmk2/p65/iso/info.json b/keyboards/gmmk/gmmk2/p65/iso/info.json
index 29dc2955be..5d5aba914e 100644
--- a/keyboards/gmmk/gmmk2/p65/iso/info.json
+++ b/keyboards/gmmk/gmmk2/p65/iso/info.json
@@ -8,6 +8,9 @@
"pid": "0x504A",
"device_version": "0.0.1"
},
+ "bootmagic": {
+ "matrix": [1, 3]
+ },
"processor": "WB32F3G71",
"bootloader": "wb32-dfu",
"layouts": {
diff --git a/keyboards/gmmk/pro/config.h b/keyboards/gmmk/pro/config.h
index f13ecfc09f..912c59b715 100644
--- a/keyboards/gmmk/pro/config.h
+++ b/keyboards/gmmk/pro/config.h
@@ -29,10 +29,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-/* Hold ESC on start up to clear EEPROM and boot into bootloader mode */
-#define BOOTMAGIC_LITE_ROW 1
-#define BOOTMAGIC_LITE_COLUMN 3
-
#define TAP_CODE_DELAY 10
#define ENCODERS_PAD_A \
{ C15 }
diff --git a/keyboards/gmmk/pro/rev1/ansi/info.json b/keyboards/gmmk/pro/rev1/ansi/info.json
index 49830909bc..58636b462b 100644
--- a/keyboards/gmmk/pro/rev1/ansi/info.json
+++ b/keyboards/gmmk/pro/rev1/ansi/info.json
@@ -8,6 +8,9 @@
"pid": "0x5044",
"device_version": "0.0.1"
},
+ "bootmagic": {
+ "matrix": [1, 3]
+ },
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"layouts": {
diff --git a/keyboards/gmmk/pro/rev1/iso/info.json b/keyboards/gmmk/pro/rev1/iso/info.json
index 2a57848465..dce316167a 100644
--- a/keyboards/gmmk/pro/rev1/iso/info.json
+++ b/keyboards/gmmk/pro/rev1/iso/info.json
@@ -8,6 +8,9 @@
"pid": "0x5044",
"device_version": "0.0.1"
},
+ "bootmagic": {
+ "matrix": [1, 3]
+ },
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"layouts": {
diff --git a/keyboards/gmmk/pro/rev2/ansi/info.json b/keyboards/gmmk/pro/rev2/ansi/info.json
index 11882e8af0..37b2e4b1cc 100644
--- a/keyboards/gmmk/pro/rev2/ansi/info.json
+++ b/keyboards/gmmk/pro/rev2/ansi/info.json
@@ -8,6 +8,9 @@
"pid": "0x5044",
"device_version": "0.0.2"
},
+ "bootmagic": {
+ "matrix": [1, 3]
+ },
"processor": "WB32F3G71",
"bootloader": "wb32-dfu",
"layouts": {
diff --git a/keyboards/gmmk/pro/rev2/iso/info.json b/keyboards/gmmk/pro/rev2/iso/info.json
index 4ffe92e4d8..10eaa5474b 100644
--- a/keyboards/gmmk/pro/rev2/iso/info.json
+++ b/keyboards/gmmk/pro/rev2/iso/info.json
@@ -8,6 +8,9 @@
"pid": "0x5044",
"device_version": "0.0.2"
},
+ "bootmagic": {
+ "matrix": [1, 3]
+ },
"processor": "WB32F3G71",
"bootloader": "wb32-dfu",
"layouts": {