diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-20 10:39:35 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 10:39:35 +1000 |
commit | 835c971f78b5d995bb58f0889fac00aac348de52 (patch) | |
tree | 0997888e5fe5dec82133a1eec10ce425b09a0545 /keyboards/jian | |
parent | 48792b030b754c8b3983a97071db1b09ae6353d4 (diff) | |
download | qmk_firmware-835c971f78b5d995bb58f0889fac00aac348de52.tar.gz qmk_firmware-835c971f78b5d995bb58f0889fac00aac348de52.zip |
Move keyboard USB IDs and strings to data driven, pass 2: J-L (#18080)
Diffstat (limited to 'keyboards/jian')
-rw-r--r-- | keyboards/jian/handwired/config.h | 7 | ||||
-rw-r--r-- | keyboards/jian/handwired/info.json | 6 | ||||
-rw-r--r-- | keyboards/jian/info.json | 6 | ||||
-rw-r--r-- | keyboards/jian/nsrev2/config.h | 7 | ||||
-rw-r--r-- | keyboards/jian/nsrev2/info.json | 6 | ||||
-rw-r--r-- | keyboards/jian/rev1/config.h | 7 | ||||
-rw-r--r-- | keyboards/jian/rev1/info.json | 6 | ||||
-rw-r--r-- | keyboards/jian/rev2/config.h | 7 | ||||
-rw-r--r-- | keyboards/jian/rev2/info.json | 6 |
9 files changed, 29 insertions, 29 deletions
diff --git a/keyboards/jian/handwired/config.h b/keyboards/jian/handwired/config.h index ebcda62f44..055568b06c 100644 --- a/keyboards/jian/handwired/config.h +++ b/keyboards/jian/handwired/config.h @@ -19,13 +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 0xC0DE -#define PRODUCT_ID 0x1337 -#define DEVICE_VER 0x0010 -#define MANUFACTURER KgOfHedgehogs -#define PRODUCT Huma - /* key matrix size */ // Rows are doubled-up #define MATRIX_ROWS 4 diff --git a/keyboards/jian/handwired/info.json b/keyboards/jian/handwired/info.json new file mode 100644 index 0000000000..120c6c4a24 --- /dev/null +++ b/keyboards/jian/handwired/info.json @@ -0,0 +1,6 @@ +{ + "keyboard_name": "Huma", + "usb": { + "device_version": "0.1.0" + } +} diff --git a/keyboards/jian/info.json b/keyboards/jian/info.json index e9c875e792..2e59944921 100644 --- a/keyboards/jian/info.json +++ b/keyboards/jian/info.json @@ -1,7 +1,11 @@ { - "keyboard_name": "jian", + "manufacturer": "KgOfHedgehogs", "url": "t.me/s/kgofhedgehogs", "maintainer": "KGOH", + "usb": { + "vid": "0xC0DE", + "pid": "0x1337" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/jian/nsrev2/config.h b/keyboards/jian/nsrev2/config.h index 7a2cabeb4c..6b36049f94 100644 --- a/keyboards/jian/nsrev2/config.h +++ b/keyboards/jian/nsrev2/config.h @@ -19,13 +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 0xC0DE -#define PRODUCT_ID 0x1337 -#define DEVICE_VER 0x0210 -#define MANUFACTURER KgOfHedgehogs -#define PRODUCT Huma - /* key matrix size */ // Rows are doubled-up #define MATRIX_ROWS 8 diff --git a/keyboards/jian/nsrev2/info.json b/keyboards/jian/nsrev2/info.json new file mode 100644 index 0000000000..06fbfeb833 --- /dev/null +++ b/keyboards/jian/nsrev2/info.json @@ -0,0 +1,6 @@ +{ + "keyboard_name": "Huma", + "usb": { + "device_version": "2.1.0" + } +} diff --git a/keyboards/jian/rev1/config.h b/keyboards/jian/rev1/config.h index 5758115035..988b6d5176 100644 --- a/keyboards/jian/rev1/config.h +++ b/keyboards/jian/rev1/config.h @@ -19,13 +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 0xC0DE -#define PRODUCT_ID 0x1337 -#define DEVICE_VER 0x0100 -#define MANUFACTURER KgOfHedgehogs -#define PRODUCT Jian - /* key matrix size */ // Rows are doubled-up #define MATRIX_ROWS 8 diff --git a/keyboards/jian/rev1/info.json b/keyboards/jian/rev1/info.json new file mode 100644 index 0000000000..32540b3f78 --- /dev/null +++ b/keyboards/jian/rev1/info.json @@ -0,0 +1,6 @@ +{ + "keyboard_name": "Jian", + "usb": { + "device_version": "1.0.0" + } +} diff --git a/keyboards/jian/rev2/config.h b/keyboards/jian/rev2/config.h index ec3c206d46..52c8b6ad0e 100644 --- a/keyboards/jian/rev2/config.h +++ b/keyboards/jian/rev2/config.h @@ -19,13 +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 0xC0DE -#define PRODUCT_ID 0x1337 -#define DEVICE_VER 0x0200 -#define MANUFACTURER KgOfHedgehogs -#define PRODUCT Jian - /* key matrix size */ // Rows are doubled-up #define MATRIX_ROWS 8 diff --git a/keyboards/jian/rev2/info.json b/keyboards/jian/rev2/info.json new file mode 100644 index 0000000000..db130bf467 --- /dev/null +++ b/keyboards/jian/rev2/info.json @@ -0,0 +1,6 @@ +{ + "keyboard_name": "Jian", + "usb": { + "device_version": "2.0.0" + } +} |