summaryrefslogtreecommitdiff
path: root/keyboards/atset/at12
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-26 10:52:18 +1000
committerGitHub <noreply@github.com>2022-07-26 01:52:18 +0100
commit674422eb13a4f5c9c8238629e42f4fc1d7641ede (patch)
treea6bd07b6866ea0bb189c05e2bf63cbfa20dc5bc5 /keyboards/atset/at12
parenta939293aca697cb263f4972dbb1521d273fbf499 (diff)
Move keyboard USB IDs and strings to data driven: A (#17781)
Diffstat (limited to 'keyboards/atset/at12')
-rw-r--r--keyboards/atset/at12/config.h7
-rw-r--r--keyboards/atset/at12/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/atset/at12/config.h b/keyboards/atset/at12/config.h
index c037cd5b74..26e26fc32e 100644
--- a/keyboards/atset/at12/config.h
+++ b/keyboards/atset/at12/config.h
@@ -17,13 +17,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED // Atset
-#define PRODUCT_ID 0x6060
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Atset
-#define PRODUCT AT12
-
/* Key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 3
diff --git a/keyboards/atset/at12/info.json b/keyboards/atset/at12/info.json
index 2facdf3800..28a535db48 100644
--- a/keyboards/atset/at12/info.json
+++ b/keyboards/atset/at12/info.json
@@ -1,6 +1,12 @@
{
- "keyboard_name": "AT9",
+ "keyboard_name": "AT12",
+ "manufacturer": "Atset",
"maintainer": "atset",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0x6060",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [{"label":"k00", "x":0, "y":0}, {"label":"k01", "x":1, "y":0}, {"label":"k02", "x":2, "y":0}, {"label":"k10", "x":0, "y":1}, {"label":"k11", "x":1, "y":1}, {"label":"k12", "x":2, "y":1}, {"label":"k20", "x":0, "y":2}, {"label":"k21", "x":1, "y":2}, {"label":"k22", "x":2, "y":2}, {"label":"k30", "x":0, "y":3}, {"label":"k31", "x":1, "y":3}, {"label":"k32", "x":2, "y":3}]