summaryrefslogtreecommitdiff
path: root/keyboards/z12
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-06 18:59:13 +1000
committerGitHub <noreply@github.com>2022-08-06 18:59:13 +1000
commit0ff8c4f6fd8cce95d9e96060121208f85b4d02cd (patch)
treea914585f7830e577a2667b361af3cc21fcc490f9 /keyboards/z12
parentfb19e140481ecc360737420850d2d84c67a3d047 (diff)
Move keyboard USB IDs and strings to data driven: Z (#17927)
Diffstat (limited to 'keyboards/z12')
-rw-r--r--keyboards/z12/config.h7
-rw-r--r--keyboards/z12/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/z12/config.h b/keyboards/z12/config.h
index 68aff7acf7..33ba6e7467 100644
--- a/keyboards/z12/config.h
+++ b/keyboards/z12/config.h
@@ -18,13 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x7A74
-#define PRODUCT_ID 0x0001
-#define DEVICE_VER 0x0001
-#define MANUFACTURER zigotica
-#define PRODUCT z12
-
#define ENCODERS_PAD_A { B5, B6 }
#define ENCODERS_PAD_B { B4, B2 }
diff --git a/keyboards/z12/info.json b/keyboards/z12/info.json
index 2395401e47..7aa53d9a5c 100644
--- a/keyboards/z12/info.json
+++ b/keyboards/z12/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "z12",
+ "manufacturer": "zigotica",
"url": "https://github.com/zigotica/mechanical-keyboards/tree/main/z12",
"maintainer": "@zigotica",
+ "usb": {
+ "vid": "0x7A74",
+ "pid": "0x0001",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [