summaryrefslogtreecommitdiff
path: root/keyboards/kudox_game
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-20 10:39:35 +1000
committerGitHub <noreply@github.com>2022-08-20 10:39:35 +1000
commit835c971f78b5d995bb58f0889fac00aac348de52 (patch)
tree0997888e5fe5dec82133a1eec10ce425b09a0545 /keyboards/kudox_game
parent48792b030b754c8b3983a97071db1b09ae6353d4 (diff)
downloadqmk_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/kudox_game')
-rw-r--r--keyboards/kudox_game/info.json7
-rw-r--r--keyboards/kudox_game/rev1/config.h7
-rw-r--r--keyboards/kudox_game/rev1/info.json5
-rw-r--r--keyboards/kudox_game/rev2/config.h7
-rw-r--r--keyboards/kudox_game/rev2/info.json5
5 files changed, 16 insertions, 15 deletions
diff --git a/keyboards/kudox_game/info.json b/keyboards/kudox_game/info.json
index 47fdd84b34..4cfc75850a 100644
--- a/keyboards/kudox_game/info.json
+++ b/keyboards/kudox_game/info.json
@@ -1,7 +1,12 @@
{
- "keyboard_name": "Kudox Game Keyboard",
+ "keyboard_name": "The Kudox Game Keyboard",
+ "manufacturer": "Kumao Kobo",
"url": "",
"maintainer": "Kumao Kobo",
+ "usb": {
+ "vid": "0xABBA",
+ "pid": "0x9696"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/kudox_game/rev1/config.h b/keyboards/kudox_game/rev1/config.h
index 821a6af8bb..1fc6411359 100644
--- a/keyboards/kudox_game/rev1/config.h
+++ b/keyboards/kudox_game/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 0xABBA
-#define PRODUCT_ID 0x9696
-#define DEVICE_VER 0x0100
-#define MANUFACTURER Kumao Kobo
-#define PRODUCT The Kudox Game Keyboard
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 7
diff --git a/keyboards/kudox_game/rev1/info.json b/keyboards/kudox_game/rev1/info.json
new file mode 100644
index 0000000000..ad889c2304
--- /dev/null
+++ b/keyboards/kudox_game/rev1/info.json
@@ -0,0 +1,5 @@
+{
+ "usb": {
+ "device_version": "1.0.0"
+ }
+}
diff --git a/keyboards/kudox_game/rev2/config.h b/keyboards/kudox_game/rev2/config.h
index e1907bf29f..f61b42eb7f 100644
--- a/keyboards/kudox_game/rev2/config.h
+++ b/keyboards/kudox_game/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 0xABBA
-#define PRODUCT_ID 0x9696
-#define DEVICE_VER 0x0200
-#define MANUFACTURER Kumao Kobo
-#define PRODUCT The Kudox Game Keyboard
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 7
diff --git a/keyboards/kudox_game/rev2/info.json b/keyboards/kudox_game/rev2/info.json
new file mode 100644
index 0000000000..3bdd63ee28
--- /dev/null
+++ b/keyboards/kudox_game/rev2/info.json
@@ -0,0 +1,5 @@
+{
+ "usb": {
+ "device_version": "2.0.0"
+ }
+}