summaryrefslogtreecommitdiff
path: root/keyboards/maxr1998
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-03 17:15:43 +1000
committerGitHub <noreply@github.com>2022-08-03 17:15:43 +1000
commit3da6575e2480d46399be01c21270c57420e0f16d (patch)
treef3438c1402e56256dd0c2bdd0775711edae56043 /keyboards/maxr1998
parent1b92c204c10594fce6a715710c277a748a4fdc68 (diff)
downloadqmk_firmware-3da6575e2480d46399be01c21270c57420e0f16d.tar.gz
qmk_firmware-3da6575e2480d46399be01c21270c57420e0f16d.zip
Move keyboard USB IDs and strings to data driven: M (#17859)
Diffstat (limited to 'keyboards/maxr1998')
-rw-r--r--keyboards/maxr1998/phoebe/config.h6
-rw-r--r--keyboards/maxr1998/phoebe/info.json5
-rw-r--r--keyboards/maxr1998/pulse4k/config.h7
-rw-r--r--keyboards/maxr1998/pulse4k/info.json6
4 files changed, 11 insertions, 13 deletions
diff --git a/keyboards/maxr1998/phoebe/config.h b/keyboards/maxr1998/phoebe/config.h
index cce72108c5..b410a836c9 100644
--- a/keyboards/maxr1998/phoebe/config.h
+++ b/keyboards/maxr1998/phoebe/config.h
@@ -19,12 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x6060
-#define DEVICE_VER 0x0001
-#define PRODUCT Phoebe
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
diff --git a/keyboards/maxr1998/phoebe/info.json b/keyboards/maxr1998/phoebe/info.json
index 1b22277d8a..03a2dd94f8 100644
--- a/keyboards/maxr1998/phoebe/info.json
+++ b/keyboards/maxr1998/phoebe/info.json
@@ -16,6 +16,11 @@
"key_lock": true,
"leader": true
},
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0x6060",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/maxr1998/pulse4k/config.h b/keyboards/maxr1998/pulse4k/config.h
index 4b9c60aac2..fbabd8b2bb 100644
--- a/keyboards/maxr1998/pulse4k/config.h
+++ b/keyboards/maxr1998/pulse4k/config.h
@@ -19,13 +19,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x6060
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Maxr1998
-#define PRODUCT Pulse 4k
-
/* Key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 3
diff --git a/keyboards/maxr1998/pulse4k/info.json b/keyboards/maxr1998/pulse4k/info.json
index 7caa85072a..f5ff668edf 100644
--- a/keyboards/maxr1998/pulse4k/info.json
+++ b/keyboards/maxr1998/pulse4k/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Pulse 4k",
+ "manufacturer": "Maxr1998",
"url": "https://github.com/Maxr1998/Pulse_4k",
"maintainer": "Maxr1998",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0x6060",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [