summaryrefslogtreecommitdiffstats
path: root/keyboards/chavdai40
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2022-08-14 01:54:23 -0700
committerDrashna Jael're <drashna@live.com>2022-08-14 01:54:23 -0700
commitac31e429741a640b0d03d2ebd76554b7fe9247e0 (patch)
tree8d21aa6f2b7e0c3ee75b37e4f2edb1ae010db525 /keyboards/chavdai40
parente948fa6f6e184a3c9a317a7aa680e33e7629b0d4 (diff)
parent4195eb8fe1de39855b622ee282950c10fdbf0988 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/chavdai40')
-rw-r--r--keyboards/chavdai40/info.json6
-rw-r--r--keyboards/chavdai40/rev1/config.h7
-rw-r--r--keyboards/chavdai40/rev1/info.json6
-rw-r--r--keyboards/chavdai40/rev2/config.h7
-rw-r--r--keyboards/chavdai40/rev2/info.json6
5 files changed, 17 insertions, 15 deletions
diff --git a/keyboards/chavdai40/info.json b/keyboards/chavdai40/info.json
index 9c95d21239..36b8511bf1 100644
--- a/keyboards/chavdai40/info.json
+++ b/keyboards/chavdai40/info.json
@@ -1,7 +1,11 @@
{
- "keyboard_name": "chavdai40",
+ "manufacturer": "t-miyajima",
"url": "https://github.com/dvorak55/chavdai40",
"maintainer": "t-miyajima",
+ "usb": {
+ "vid": "0x16D0",
+ "pid": "0x0F95"
+ },
"layouts": {
"LAYOUT_44key": {
"layout": [
diff --git a/keyboards/chavdai40/rev1/config.h b/keyboards/chavdai40/rev1/config.h
index 47ec1ca1ff..c03bab0b57 100644
--- a/keyboards/chavdai40/rev1/config.h
+++ b/keyboards/chavdai40/rev1/config.h
@@ -21,13 +21,6 @@
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP FALSE
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x16D0
-#define PRODUCT_ID 0x0F95
-#define DEVICE_VER 0x0001
-#define MANUFACTURER t-miyajima
-#define PRODUCT Chavdai40
-
/* usb power settings */
#define USB_MAX_POWER_CONSUMPTION 100
diff --git a/keyboards/chavdai40/rev1/info.json b/keyboards/chavdai40/rev1/info.json
new file mode 100644
index 0000000000..c69c0e3460
--- /dev/null
+++ b/keyboards/chavdai40/rev1/info.json
@@ -0,0 +1,6 @@
+{
+ "keyboard_name": "Chavdai40",
+ "usb": {
+ "device_version": "0.0.1"
+ }
+}
diff --git a/keyboards/chavdai40/rev2/config.h b/keyboards/chavdai40/rev2/config.h
index 5f277415fa..1d72c5dc79 100644
--- a/keyboards/chavdai40/rev2/config.h
+++ b/keyboards/chavdai40/rev2/config.h
@@ -21,13 +21,6 @@
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP FALSE
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x16D0
-#define PRODUCT_ID 0x0F95
-#define DEVICE_VER 0x0002
-#define MANUFACTURER t-miyajima
-#define PRODUCT Chavdai40 rev2
-
/* usb power settings */
#define USB_MAX_POWER_CONSUMPTION 100
diff --git a/keyboards/chavdai40/rev2/info.json b/keyboards/chavdai40/rev2/info.json
new file mode 100644
index 0000000000..458bcacf38
--- /dev/null
+++ b/keyboards/chavdai40/rev2/info.json
@@ -0,0 +1,6 @@
+{
+ "keyboard_name": "Chavdai40 rev2",
+ "usb": {
+ "device_version": "0.0.2"
+ }
+}