summaryrefslogtreecommitdiff
path: root/keyboards/alt34
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-14 10:47:05 +1000
committerGitHub <noreply@github.com>2022-08-13 17:47:05 -0700
commit30796913913c0f6dc0cce317ad8249de2b602294 (patch)
tree74c69b26ecb9c9923b3e5b8b4c9b9904741ed6d0 /keyboards/alt34
parent0f1bb982e97f0779e2885970f5e4677dbb555926 (diff)
downloadqmk_firmware-30796913913c0f6dc0cce317ad8249de2b602294.tar.gz
qmk_firmware-30796913913c0f6dc0cce317ad8249de2b602294.zip
Move keyboard USB IDs and strings to data driven, pass 2: 0-9, A (#17941)
Diffstat (limited to 'keyboards/alt34')
-rw-r--r--keyboards/alt34/config.h20
-rw-r--r--keyboards/alt34/rev1/config.h7
-rw-r--r--keyboards/alt34/rev1/info.json (renamed from keyboards/alt34/info.json)6
3 files changed, 6 insertions, 27 deletions
diff --git a/keyboards/alt34/config.h b/keyboards/alt34/config.h
deleted file mode 100644
index 44ee245fe4..0000000000
--- a/keyboards/alt34/config.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
-Copyright 2022 Tommy Alatalo <@altosys>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-#include "config_common.h"
diff --git a/keyboards/alt34/rev1/config.h b/keyboards/alt34/rev1/config.h
index 7ea63954b0..7027d449ec 100644
--- a/keyboards/alt34/rev1/config.h
+++ b/keyboards/alt34/rev1/config.h
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x1ABC
-#define PRODUCT_ID 0x0001
-#define DEVICE_VER 0x0001
-#define MANUFACTURER altosys
-#define PRODUCT alt34
-
/* key matrix size */
// Rows are doubled-up
#define MATRIX_ROWS 8
diff --git a/keyboards/alt34/info.json b/keyboards/alt34/rev1/info.json
index 647c853136..0d22194885 100644
--- a/keyboards/alt34/info.json
+++ b/keyboards/alt34/rev1/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "alt34",
+ "manufacturer": "altosys",
"url": "https://gitlab.com/altosys/alt34",
"maintainer": "@altosys",
+ "usb": {
+ "vid": "0x1ABC",
+ "pid": "0x0001",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_split_3x5_2": {
"layout": [