From 63bc7b63a650c4da63611900437e06ea7d051f14 Mon Sep 17 00:00:00 2001
From: James Young
Date: Tue, 2 Apr 2024 09:45:44 -0700
Subject: Data-Driven Keyboard Conversions: A (#23379)
---
keyboards/ai03/andromeda/config.h | 23 ------
keyboards/ai03/andromeda/keyboard.json | 6 ++
keyboards/ai03/equinox/config.h | 39 ----------
keyboards/ai03/equinox/info.json | 6 ++
keyboards/ai03/jp60/config.h | 39 ----------
keyboards/ai03/jp60/keyboard.json | 6 ++
keyboards/ai03/lunar/config.h | 39 ----------
keyboards/ai03/lunar/keyboard.json | 6 ++
keyboards/ai03/lunar_ii/config.h | 5 --
keyboards/ai03/lunar_ii/info.json | 14 ++++
keyboards/ai03/lunar_ii/rules.mk | 14 ----
keyboards/ai03/orbit/config.h | 5 --
keyboards/ai03/orbit/info.json | 119 -----------------------------
keyboards/ai03/orbit/keyboard.json | 133 +++++++++++++++++++++++++++++++++
keyboards/ai03/orbit/rules.mk | 13 ----
keyboards/ai03/orbit_x/config.h | 5 --
keyboards/ai03/orbit_x/info.json | 88 ----------------------
keyboards/ai03/orbit_x/keyboard.json | 102 +++++++++++++++++++++++++
keyboards/ai03/orbit_x/rules.mk | 13 ----
keyboards/ai03/polaris/config.h | 39 ----------
keyboards/ai03/polaris/keyboard.json | 6 ++
keyboards/ai03/quasar/config.h | 39 ----------
keyboards/ai03/quasar/keyboard.json | 6 ++
keyboards/ai03/soyuz/config.h | 39 ----------
keyboards/ai03/soyuz/keyboard.json | 6 ++
keyboards/ai03/vega/config.h | 40 ----------
keyboards/ai03/vega/keyboard.json | 6 ++
27 files changed, 297 insertions(+), 559 deletions(-)
delete mode 100644 keyboards/ai03/andromeda/config.h
delete mode 100644 keyboards/ai03/equinox/config.h
delete mode 100644 keyboards/ai03/jp60/config.h
delete mode 100644 keyboards/ai03/lunar/config.h
delete mode 100644 keyboards/ai03/orbit/info.json
create mode 100644 keyboards/ai03/orbit/keyboard.json
delete mode 100644 keyboards/ai03/orbit/rules.mk
delete mode 100644 keyboards/ai03/orbit_x/info.json
create mode 100644 keyboards/ai03/orbit_x/keyboard.json
delete mode 100644 keyboards/ai03/orbit_x/rules.mk
delete mode 100644 keyboards/ai03/polaris/config.h
delete mode 100644 keyboards/ai03/quasar/config.h
delete mode 100644 keyboards/ai03/soyuz/config.h
delete mode 100644 keyboards/ai03/vega/config.h
(limited to 'keyboards/ai03')
diff --git a/keyboards/ai03/andromeda/config.h b/keyboards/ai03/andromeda/config.h
deleted file mode 100644
index 056f54d521..0000000000
--- a/keyboards/ai03/andromeda/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
-Copyright 2021 Andrew Kannan
-
-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 .
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/ai03/andromeda/keyboard.json b/keyboards/ai03/andromeda/keyboard.json
index 5a9bf32ef1..d085b91ad1 100644
--- a/keyboards/ai03/andromeda/keyboard.json
+++ b/keyboards/ai03/andromeda/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "B5", "B8", "B9"],
"rows": ["B4", "B3", "A15", "A3", "A4", "A5"]
diff --git a/keyboards/ai03/equinox/config.h b/keyboards/ai03/equinox/config.h
deleted file mode 100644
index 50001e978c..0000000000
--- a/keyboards/ai03/equinox/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2019 Ryota Goto
-
-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 .
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/ai03/equinox/info.json b/keyboards/ai03/equinox/info.json
index 2912f0c1d8..7c2cc46500 100644
--- a/keyboards/ai03/equinox/info.json
+++ b/keyboards/ai03/equinox/info.json
@@ -8,6 +8,12 @@
"pid": "0x0004",
"device_version": "0.0.1"
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"layouts": {
"LAYOUT_all": {
"layout": [
diff --git a/keyboards/ai03/jp60/config.h b/keyboards/ai03/jp60/config.h
deleted file mode 100644
index 9fe6627ecc..0000000000
--- a/keyboards/ai03/jp60/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2021 ai03
-
-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 .
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/ai03/jp60/keyboard.json b/keyboards/ai03/jp60/keyboard.json
index bc366e60e5..389993626d 100644
--- a/keyboards/ai03/jp60/keyboard.json
+++ b/keyboards/ai03/jp60/keyboard.json
@@ -19,6 +19,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D2", "D1", "D3", "D5", "D4", "D6", "C6", "F0", "F1", "F4", "F5", "F6", "F7", "C7"],
"rows": ["B6", "B5", "B4", "D7", "E6"]
diff --git a/keyboards/ai03/lunar/config.h b/keyboards/ai03/lunar/config.h
deleted file mode 100644
index 50001e978c..0000000000
--- a/keyboards/ai03/lunar/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2019 Ryota Goto
-
-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 .
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/ai03/lunar/keyboard.json b/keyboards/ai03/lunar/keyboard.json
index 8a5bc14576..00ff761d3f 100644
--- a/keyboards/ai03/lunar/keyboard.json
+++ b/keyboards/ai03/lunar/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0"],
"rows": ["B3", "D0", "D1", "D2", "D3"]
diff --git a/keyboards/ai03/lunar_ii/config.h b/keyboards/ai03/lunar_ii/config.h
index 1b02059356..07dde6cb89 100644
--- a/keyboards/ai03/lunar_ii/config.h
+++ b/keyboards/ai03/lunar_ii/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see .
#pragma once
-
-/* Mechanical lock switch support */
-#define LOCKING_SUPPORT_ENABLE
-#define LOCKING_RESYNC_ENABLE
-
/* Solenoid support */
#define SOLENOID_PIN B7
#define SOLENOID_DEFAULT_DWELL 15
diff --git a/keyboards/ai03/lunar_ii/info.json b/keyboards/ai03/lunar_ii/info.json
index ee7f152758..38729595a2 100644
--- a/keyboards/ai03/lunar_ii/info.json
+++ b/keyboards/ai03/lunar_ii/info.json
@@ -8,6 +8,20 @@
"pid": "0x0016",
"device_version": "1.0.0"
},
+ "features": {
+ "bootmagic": true,
+ "mousekey": true,
+ "extrakey": true,
+ "console": true,
+ "nkro": true,
+ "haptic": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"diode_direction": "COL2ROW",
diff --git a/keyboards/ai03/lunar_ii/rules.mk b/keyboards/ai03/lunar_ii/rules.mk
index 7ad594e1f9..a521203b32 100644
--- a/keyboards/ai03/lunar_ii/rules.mk
+++ b/keyboards/ai03/lunar_ii/rules.mk
@@ -1,15 +1 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = yes # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-
-HAPTIC_ENABLE = yes # Enable solenoid support
HAPTIC_DRIVER = solenoid
diff --git a/keyboards/ai03/orbit/config.h b/keyboards/ai03/orbit/config.h
index 53a057875f..f3a4ae2db3 100644
--- a/keyboards/ai03/orbit/config.h
+++ b/keyboards/ai03/orbit/config.h
@@ -21,11 +21,6 @@ along with this program. If not, see .
#define SPLIT_HAND_PIN D5
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/ai03/orbit/info.json b/keyboards/ai03/orbit/info.json
deleted file mode 100644
index d7ff0b786c..0000000000
--- a/keyboards/ai03/orbit/info.json
+++ /dev/null
@@ -1,119 +0,0 @@
-{
- "keyboard_name": "Orbit",
- "manufacturer": "ai03 Keyboard Designs",
- "url": "https://github.com/ai03-2725/Orbit",
- "maintainer": "ai03",
- "usb": {
- "vid": "0xA103",
- "pid": "0x0003",
- "device_version": "0.0.3"
- },
- "matrix_pins": {
- "cols": ["C7", "B4", "D7", "D6", "D4", "F1", "F0"],
- "rows": ["F7", "F6", "F5", "F4", "D3"]
- },
- "diode_direction": "COL2ROW",
- "backlight": {
- "pin": "B7"
- },
- "split": {
- "soft_serial_pin": "D0",
- "matrix_pins": {
- "right": {
- "cols": ["D4", "D6", "F1", "F0", "F4", "F5", "C6"],
- "rows": ["B6", "B5", "B4", "D7", "E6"]
- }
- },
- "transport":{
- "sync" :{
- "indicators": true,
- "layer_state": true
- }
- }
- },
- "processor": "atmega32u4",
- "bootloader": "atmel-dfu",
- "layouts": {
- "LAYOUT": {
- "layout": [
- {"matrix": [0, 0], "x": 0, "y": 0.63},
- {"matrix": [0, 1], "x": 1, "y": 0.38},
- {"matrix": [0, 2], "x": 2, "y": 0.38},
- {"matrix": [0, 3], "x": 3, "y": 0.13},
- {"matrix": [0, 4], "x": 4, "y": 0},
- {"matrix": [0, 5], "x": 5, "y": 0.13},
- {"matrix": [0, 6], "x": 6, "y": 0.25},
-
- {"matrix": [5, 0], "x": 9, "y": 0.25},
- {"matrix": [5, 1], "x": 10, "y": 0.13},
- {"matrix": [5, 2], "x": 11, "y": 0},
- {"matrix": [5, 3], "x": 12, "y": 0.13},
- {"matrix": [5, 4], "x": 13, "y": 0.38},
- {"matrix": [5, 5], "x": 14, "y": 0.38},
- {"matrix": [5, 6], "x": 15, "y": 0.63},
-
- {"matrix": [1, 0], "x": 0, "y": 1.63},
- {"matrix": [1, 1], "x": 1, "y": 1.38},
- {"matrix": [1, 2], "x": 2, "y": 1.38},
- {"matrix": [1, 3], "x": 3, "y": 1.13},
- {"matrix": [1, 4], "x": 4, "y": 1},
- {"matrix": [1, 5], "x": 5, "y": 1.13},
- {"matrix": [1, 6], "x": 6, "y": 1.25},
-
- {"matrix": [6, 0], "x": 9, "y": 1.25},
- {"matrix": [6, 1], "x": 10, "y": 1.13},
- {"matrix": [6, 2], "x": 11, "y": 1},
- {"matrix": [6, 3], "x": 12, "y": 1.13},
- {"matrix": [6, 4], "x": 13, "y": 1.38},
- {"matrix": [6, 5], "x": 14, "y": 1.38},
- {"matrix": [6, 6], "x": 15, "y": 1.63},
-
- {"matrix": [2, 0], "x": 0, "y": 2.63},
- {"matrix": [2, 1], "x": 1, "y": 2.38},
- {"matrix": [2, 2], "x": 2, "y": 2.38},
- {"matrix": [2, 3], "x": 3, "y": 2.13},
- {"matrix": [2, 4], "x": 4, "y": 2},
- {"matrix": [2, 5], "x": 5, "y": 2.13},
- {"matrix": [2, 6], "x": 6, "y": 2.25},
-
- {"matrix": [7, 0], "x": 9, "y": 2.25},
- {"matrix": [7, 1], "x": 10, "y": 2.13},
- {"matrix": [7, 2], "x": 11, "y": 2},
- {"matrix": [7, 3], "x": 12, "y": 2.13},
- {"matrix": [7, 4], "x": 13, "y": 2.38},
- {"matrix": [7, 5], "x": 14, "y": 2.38},
- {"matrix": [7, 6], "x": 15, "y": 2.63},
-
- {"matrix": [3, 0], "x": 0, "y": 3.63},
- {"matrix": [3, 1], "x": 1, "y": 3.38},
- {"matrix": [3, 2], "x": 2, "y": 3.38},
- {"matrix": [3, 3], "x": 3, "y": 3.13},
- {"matrix": [3, 4], "x": 4, "y": 3},
- {"matrix": [3, 5], "x": 5, "y": 3.13},
- {"matrix": [3, 6], "x": 6, "y": 3.25},
-
- {"matrix": [8, 0], "x": 9, "y": 3.25},
- {"matrix": [8, 1], "x": 10, "y": 3.13},
- {"matrix": [8, 2], "x": 11, "y": 3},
- {"matrix": [8, 3], "x": 12, "y": 3.13},
- {"matrix": [8, 4], "x": 13, "y": 3.38},
- {"matrix": [8, 5], "x": 14, "y": 3.38},
- {"matrix": [8, 6], "x": 15, "y": 3.63},
-
- {"matrix": [4, 1], "x": 1, "y": 4.38},
- {"matrix": [4, 2], "x": 2, "y": 4.38},
- {"matrix": [4, 3], "x": 3, "y": 4.13},
- {"matrix": [4, 4], "x": 4, "y": 4},
- {"matrix": [4, 5], "x": 5.5, "y": 4.25},
- {"matrix": [4, 6], "x": 6.5, "y": 4.5, "h": 1.5},
-
- {"matrix": [9, 0], "x": 8.5, "y": 4.5, "h": 1.5},
- {"matrix": [9, 1], "x": 9.5, "y": 4.25},
- {"matrix": [9, 2], "x": 11, "y": 4},
- {"matrix": [9, 3], "x": 12, "y": 4.13},
- {"matrix": [9, 4], "x": 13, "y": 4.38},
- {"matrix": [9, 5], "x": 14, "y": 4.38}
- ]
- }
- }
-}
diff --git a/keyboards/ai03/orbit/keyboard.json b/keyboards/ai03/orbit/keyboard.json
new file mode 100644
index 0000000000..ec30802812
--- /dev/null
+++ b/keyboards/ai03/orbit/keyboard.json
@@ -0,0 +1,133 @@
+{
+ "keyboard_name": "Orbit",
+ "manufacturer": "ai03 Keyboard Designs",
+ "url": "https://github.com/ai03-2725/Orbit",
+ "maintainer": "ai03",
+ "usb": {
+ "vid": "0xA103",
+ "pid": "0x0003",
+ "device_version": "0.0.3"
+ },
+ "features": {
+ "bootmagic": false,
+ "mousekey": true,
+ "extrakey": true,
+ "nkro": true,
+ "backlight": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
+ "matrix_pins": {
+ "cols": ["C7", "B4", "D7", "D6", "D4", "F1", "F0"],
+ "rows": ["F7", "F6", "F5", "F4", "D3"]
+ },
+ "diode_direction": "COL2ROW",
+ "backlight": {
+ "pin": "B7"
+ },
+ "split": {
+ "enabled": true,
+ "soft_serial_pin": "D0",
+ "matrix_pins": {
+ "right": {
+ "cols": ["D4", "D6", "F1", "F0", "F4", "F5", "C6"],
+ "rows": ["B6", "B5", "B4", "D7", "E6"]
+ }
+ },
+ "transport":{
+ "sync" :{
+ "indicators": true,
+ "layer_state": true
+ }
+ }
+ },
+ "processor": "atmega32u4",
+ "bootloader": "atmel-dfu",
+ "layouts": {
+ "LAYOUT": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0.63},
+ {"matrix": [0, 1], "x": 1, "y": 0.38},
+ {"matrix": [0, 2], "x": 2, "y": 0.38},
+ {"matrix": [0, 3], "x": 3, "y": 0.13},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+ {"matrix": [0, 5], "x": 5, "y": 0.13},
+ {"matrix": [0, 6], "x": 6, "y": 0.25},
+
+ {"matrix": [5, 0], "x": 9, "y": 0.25},
+ {"matrix": [5, 1], "x": 10, "y": 0.13},
+ {"matrix": [5, 2], "x": 11, "y": 0},
+ {"matrix": [5, 3], "x": 12, "y": 0.13},
+ {"matrix": [5, 4], "x": 13, "y": 0.38},
+ {"matrix": [5, 5], "x": 14, "y": 0.38},
+ {"matrix": [5, 6], "x": 15, "y": 0.63},
+
+ {"matrix": [1, 0], "x": 0, "y": 1.63},
+ {"matrix": [1, 1], "x": 1, "y": 1.38},
+ {"matrix": [1, 2], "x": 2, "y": 1.38},
+ {"matrix": [1, 3], "x": 3, "y": 1.13},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+ {"matrix": [1, 5], "x": 5, "y": 1.13},
+ {"matrix": [1, 6], "x": 6, "y": 1.25},
+
+ {"matrix": [6, 0], "x": 9, "y": 1.25},
+ {"matrix": [6, 1], "x": 10, "y": 1.13},
+ {"matrix": [6, 2], "x": 11, "y": 1},
+ {"matrix": [6, 3], "x": 12, "y": 1.13},
+ {"matrix": [6, 4], "x": 13, "y": 1.38},
+ {"matrix": [6, 5], "x": 14, "y": 1.38},
+ {"matrix": [6, 6], "x": 15, "y": 1.63},
+
+ {"matrix": [2, 0], "x": 0, "y": 2.63},
+ {"matrix": [2, 1], "x": 1, "y": 2.38},
+ {"matrix": [2, 2], "x": 2, "y": 2.38},
+ {"matrix": [2, 3], "x": 3, "y": 2.13},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+ {"matrix": [2, 5], "x": 5, "y": 2.13},
+ {"matrix": [2, 6], "x": 6, "y": 2.25},
+
+ {"matrix": [7, 0], "x": 9, "y": 2.25},
+ {"matrix": [7, 1], "x": 10, "y": 2.13},
+ {"matrix": [7, 2], "x": 11, "y": 2},
+ {"matrix": [7, 3], "x": 12, "y": 2.13},
+ {"matrix": [7, 4], "x": 13, "y": 2.38},
+ {"matrix": [7, 5], "x": 14, "y": 2.38},
+ {"matrix": [7, 6], "x": 15, "y": 2.63},
+
+ {"matrix": [3, 0], "x": 0, "y": 3.63},
+ {"matrix": [3, 1], "x": 1, "y": 3.38},
+ {"matrix": [3, 2], "x": 2, "y": 3.38},
+ {"matrix": [3, 3], "x": 3, "y": 3.13},
+ {"matrix": [3, 4], "x": 4, "y": 3},
+ {"matrix": [3, 5], "x": 5, "y": 3.13},
+ {"matrix": [3, 6], "x": 6, "y": 3.25},
+
+ {"matrix": [8, 0], "x": 9, "y": 3.25},
+ {"matrix": [8, 1], "x": 10, "y": 3.13},
+ {"matrix": [8, 2], "x": 11, "y": 3},
+ {"matrix": [8, 3], "x": 12, "y": 3.13},
+ {"matrix": [8, 4], "x": 13, "y": 3.38},
+ {"matrix": [8, 5], "x": 14, "y": 3.38},
+ {"matrix": [8, 6], "x": 15, "y": 3.63},
+
+ {"matrix": [4, 1], "x": 1, "y": 4.38},
+ {"matrix": [4, 2], "x": 2, "y": 4.38},
+ {"matrix": [4, 3], "x": 3, "y": 4.13},
+ {"matrix": [4, 4], "x": 4, "y": 4},
+ {"matrix": [4, 5], "x": 5.5, "y": 4.25},
+ {"matrix": [4, 6], "x": 6.5, "y": 4.5, "h": 1.5},
+
+ {"matrix": [9, 0], "x": 8.5, "y": 4.5, "h": 1.5},
+ {"matrix": [9, 1], "x": 9.5, "y": 4.25},
+ {"matrix": [9, 2], "x": 11, "y": 4},
+ {"matrix": [9, 3], "x": 12, "y": 4.13},
+ {"matrix": [9, 4], "x": 13, "y": 4.38},
+ {"matrix": [9, 5], "x": 14, "y": 4.38}
+ ]
+ }
+ }
+}
diff --git a/keyboards/ai03/orbit/rules.mk b/keyboards/ai03/orbit/rules.mk
deleted file mode 100644
index c95da2740d..0000000000
--- a/keyboards/ai03/orbit/rules.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-SPLIT_KEYBOARD = yes # Split keyboard flag disabled as manual edits had to be done to the split common files
diff --git a/keyboards/ai03/orbit_x/config.h b/keyboards/ai03/orbit_x/config.h
index 05d319d030..2c63852cbe 100644
--- a/keyboards/ai03/orbit_x/config.h
+++ b/keyboards/ai03/orbit_x/config.h
@@ -21,11 +21,6 @@ along with this program. If not, see .
#define SPLIT_USB_DETECT
#define SPLIT_USB_TIMEOUT 2500
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/ai03/orbit_x/info.json b/keyboards/ai03/orbit_x/info.json
deleted file mode 100644
index ebb11624fe..0000000000
--- a/keyboards/ai03/orbit_x/info.json
+++ /dev/null
@@ -1,88 +0,0 @@
-{
- "keyboard_name": "OrbitX",
- "manufacturer": "ai03 Design Studio",
- "url": "",
- "maintainer": "ai03",
- "usb": {
- "vid": "0xA103",
- "pid": "0x0014",
- "device_version": "0.0.1"
- },
- "matrix_pins": {
- "cols": ["E6", "F6", "B1", "B0", "C7", "C6"],
- "rows": ["D7", "D6", "D4", "F0"]
- },
- "diode_direction": "COL2ROW",
- "split": {
- "soft_serial_pin": "D0",
- "matrix_pins": {
- "right": {
- "cols": ["D6", "B6", "B1", "B0", "B3", "B2"],
- "rows": ["B5", "D7", "B4", "D4"]
- }
- }
- },
- "processor": "atmega32u4",
- "bootloader": "atmel-dfu",
- "layouts": {
- "LAYOUT": {
- "layout": [
- {"matrix": [0, 0], "x": 0, "y": 0.38},
- {"matrix": [0, 1], "x": 1, "y": 0.38},
- {"matrix": [0, 2], "x": 2, "y": 0.13},
- {"matrix": [0, 3], "x": 3, "y": 0},
- {"matrix": [0, 4], "x": 4, "y": 0.13},
- {"matrix": [0, 5], "x": 5, "y": 0.25},
-
- {"matrix": [4, 0], "x": 7.5, "y": 0.25},
- {"matrix": [4, 1], "x": 8.5, "y": 0.13},
- {"matrix": [4, 2], "x": 9.5, "y": 0},
- {"matrix": [4, 3], "x": 10.5, "y": 0.13},
- {"matrix": [4, 4], "x": 11.5, "y": 0.38},
- {"matrix": [4, 5], "x": 12.5, "y": 0.38},
-
- {"matrix": [1, 0], "x": 0, "y": 1.38},
- {"matrix": [1, 1], "x": 1, "y": 1.38},
- {"matrix": [1, 2], "x": 2, "y": 1.13},
- {"matrix": [1, 3], "x": 3, "y": 1},
- {"matrix": [1, 4], "x": 4, "y": 1.13},
- {"matrix": [1, 5], "x": 5, "y": 1.25},
-
- {"matrix": [5, 0], "x": 7.5, "y": 1.25},
- {"matrix": [5, 1], "x": 8.5, "y": 1.13},
- {"matrix": [5, 2], "x": 9.5, "y": 1},
- {"matrix": [5, 3], "x": 10.5, "y": 1.13},
- {"matrix": [5, 4], "x": 11.5, "y": 1.38},
- {"matrix": [5, 5], "x": 12.5, "y": 1.38},
-
- {"matrix": [2, 0], "x": 0, "y": 2.38},
- {"matrix": [2, 1], "x": 1, "y": 2.38},
- {"matrix": [2, 2], "x": 2, "y": 2.13},
- {"matrix": [2, 3], "x": 3, "y": 2},
- {"matrix": [2, 4], "x": 4, "y": 2.13},
- {"matrix": [2, 5], "x": 5, "y": 2.25},
-
- {"matrix": [6, 0], "x": 7.5, "y": 2.25},
- {"matrix": [6, 1], "x": 8.5, "y": 2.13},
- {"matrix": [6, 2], "x": 9.5, "y": 2},
- {"matrix": [6, 3], "x": 10.5, "y": 2.13},
- {"matrix": [6, 4], "x": 11.5, "y": 2.38},
- {"matrix": [6, 5], "x": 12.5, "y": 2.38},
-
- {"matrix": [3, 0], "x": 0, "y": 3.38},
- {"matrix": [3, 1], "x": 1, "y": 3.38},
- {"matrix": [3, 2], "x": 2, "y": 3.13},
- {"matrix": [3, 3], "x": 3, "y": 3},
- {"matrix": [3, 4], "x": 4.25, "y": 3.38},
- {"matrix": [3, 5], "x": 5.25, "y": 3.25, "h": 1.5},
-
- {"matrix": [7, 0], "x": 7.25, "y": 3.25, "h": 1.5},
- {"matrix": [7, 1], "x": 8.25, "y": 3.38},
- {"matrix": [7, 2], "x": 9.5, "y": 3},
- {"matrix": [7, 3], "x": 10.5, "y": 3.13},
- {"matrix": [7, 4], "x": 11.5, "y": 3.38},
- {"matrix": [7, 5], "x": 12.5, "y": 3.38}
- ]
- }
- }
-}
diff --git a/keyboards/ai03/orbit_x/keyboard.json b/keyboards/ai03/orbit_x/keyboard.json
new file mode 100644
index 0000000000..edfbbb2796
--- /dev/null
+++ b/keyboards/ai03/orbit_x/keyboard.json
@@ -0,0 +1,102 @@
+{
+ "keyboard_name": "OrbitX",
+ "manufacturer": "ai03 Design Studio",
+ "url": "",
+ "maintainer": "ai03",
+ "usb": {
+ "vid": "0xA103",
+ "pid": "0x0014",
+ "device_version": "0.0.1"
+ },
+ "features": {
+ "bootmagic": true,
+ "mousekey": true,
+ "extrakey": true,
+ "console": true,
+ "command": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
+ "matrix_pins": {
+ "cols": ["E6", "F6", "B1", "B0", "C7", "C6"],
+ "rows": ["D7", "D6", "D4", "F0"]
+ },
+ "diode_direction": "COL2ROW",
+ "split": {
+ "enabled": true,
+ "soft_serial_pin": "D0",
+ "matrix_pins": {
+ "right": {
+ "cols": ["D6", "B6", "B1", "B0", "B3", "B2"],
+ "rows": ["B5", "D7", "B4", "D4"]
+ }
+ }
+ },
+ "processor": "atmega32u4",
+ "bootloader": "atmel-dfu",
+ "layouts": {
+ "LAYOUT": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0.38},
+ {"matrix": [0, 1], "x": 1, "y": 0.38},
+ {"matrix": [0, 2], "x": 2, "y": 0.13},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0.13},
+ {"matrix": [0, 5], "x": 5, "y": 0.25},
+
+ {"matrix": [4, 0], "x": 7.5, "y": 0.25},
+ {"matrix": [4, 1], "x": 8.5, "y": 0.13},
+ {"matrix": [4, 2], "x": 9.5, "y": 0},
+ {"matrix": [4, 3], "x": 10.5, "y": 0.13},
+ {"matrix": [4, 4], "x": 11.5, "y": 0.38},
+ {"matrix": [4, 5], "x": 12.5, "y": 0.38},
+
+ {"matrix": [1, 0], "x": 0, "y": 1.38},
+ {"matrix": [1, 1], "x": 1, "y": 1.38},
+ {"matrix": [1, 2], "x": 2, "y": 1.13},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1.13},
+ {"matrix": [1, 5], "x": 5, "y": 1.25},
+
+ {"matrix": [5, 0], "x": 7.5, "y": 1.25},
+ {"matrix": [5, 1], "x": 8.5, "y": 1.13},
+ {"matrix": [5, 2], "x": 9.5, "y": 1},
+ {"matrix": [5, 3], "x": 10.5, "y": 1.13},
+ {"matrix": [5, 4], "x": 11.5, "y": 1.38},
+ {"matrix": [5, 5], "x": 12.5, "y": 1.38},
+
+ {"matrix": [2, 0], "x": 0, "y": 2.38},
+ {"matrix": [2, 1], "x": 1, "y": 2.38},
+ {"matrix": [2, 2], "x": 2, "y": 2.13},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2.13},
+ {"matrix": [2, 5], "x": 5, "y": 2.25},
+
+ {"matrix": [6, 0], "x": 7.5, "y": 2.25},
+ {"matrix": [6, 1], "x": 8.5, "y": 2.13},
+ {"matrix": [6, 2], "x": 9.5, "y": 2},
+ {"matrix": [6, 3], "x": 10.5, "y": 2.13},
+ {"matrix": [6, 4], "x": 11.5, "y": 2.38},
+ {"matrix": [6, 5], "x": 12.5, "y": 2.38},
+
+ {"matrix": [3, 0], "x": 0, "y": 3.38},
+ {"matrix": [3, 1], "x": 1, "y": 3.38},
+ {"matrix": [3, 2], "x": 2, "y": 3.13},
+ {"matrix": [3, 3], "x": 3, "y": 3},
+ {"matrix": [3, 4], "x": 4.25, "y": 3.38},
+ {"matrix": [3, 5], "x": 5.25, "y": 3.25, "h": 1.5},
+
+ {"matrix": [7, 0], "x": 7.25, "y": 3.25, "h": 1.5},
+ {"matrix": [7, 1], "x": 8.25, "y": 3.38},
+ {"matrix": [7, 2], "x": 9.5, "y": 3},
+ {"matrix": [7, 3], "x": 10.5, "y": 3.13},
+ {"matrix": [7, 4], "x": 11.5, "y": 3.38},
+ {"matrix": [7, 5], "x": 12.5, "y": 3.38}
+ ]
+ }
+ }
+}
diff --git a/keyboards/ai03/orbit_x/rules.mk b/keyboards/ai03/orbit_x/rules.mk
deleted file mode 100644
index 66711e4613..0000000000
--- a/keyboards/ai03/orbit_x/rules.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = yes # Console for debug
-COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-SPLIT_KEYBOARD = yes # Split keyboard
diff --git a/keyboards/ai03/polaris/config.h b/keyboards/ai03/polaris/config.h
deleted file mode 100644
index 50001e978c..0000000000
--- a/keyboards/ai03/polaris/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2019 Ryota Goto
-
-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 .
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/ai03/polaris/keyboard.json b/keyboards/ai03/polaris/keyboard.json
index 169118a0cf..decedbab3d 100644
--- a/keyboards/ai03/polaris/keyboard.json
+++ b/keyboards/ai03/polaris/keyboard.json
@@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "F7", "F5", "F6", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3"],
"rows": ["B1", "B2", "B3", "F0", "F1"]
diff --git a/keyboards/ai03/quasar/config.h b/keyboards/ai03/quasar/config.h
deleted file mode 100644
index 50001e978c..0000000000
--- a/keyboards/ai03/quasar/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2019 Ryota Goto
-
-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 .
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/ai03/quasar/keyboard.json b/keyboards/ai03/quasar/keyboard.json
index b0514f9e9a..52902e3067 100644
--- a/keyboards/ai03/quasar/keyboard.json
+++ b/keyboards/ai03/quasar/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": false
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B0", "B1", "B2", "B3", "B7", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4"],
"rows": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"]
diff --git a/keyboards/ai03/soyuz/config.h b/keyboards/ai03/soyuz/config.h
deleted file mode 100644
index 50001e978c..0000000000
--- a/keyboards/ai03/soyuz/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2019 Ryota Goto
-
-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 .
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/ai03/soyuz/keyboard.json b/keyboards/ai03/soyuz/keyboard.json
index 61e8375dd1..2abfbd5ead 100644
--- a/keyboards/ai03/soyuz/keyboard.json
+++ b/keyboards/ai03/soyuz/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["F4", "B3", "D7", "B5"],
"rows": ["D4", "C6", "B6", "E6", "B4"]
diff --git a/keyboards/ai03/vega/config.h b/keyboards/ai03/vega/config.h
deleted file mode 100644
index b575a49f38..0000000000
--- a/keyboards/ai03/vega/config.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
-Copyright 2015 Jun Wako
-
-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 .
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/ai03/vega/keyboard.json b/keyboards/ai03/vega/keyboard.json
index 64eaf5eadd..a58fa4fcae 100644
--- a/keyboards/ai03/vega/keyboard.json
+++ b/keyboards/ai03/vega/keyboard.json
@@ -16,6 +16,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B5", "A3", "A9", "A8", "B15", "B14", "B13", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A6"],
"rows": ["A1", "A2", "B3", "A15", "A10"]
--
cgit v1.2.3