From 30796913913c0f6dc0cce317ad8249de2b602294 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 14 Aug 2022 10:47:05 +1000 Subject: Move keyboard USB IDs and strings to data driven, pass 2: 0-9, A (#17941) --- keyboards/alt34/config.h | 20 --------------- keyboards/alt34/info.json | 52 ------------------------------------- keyboards/alt34/rev1/config.h | 7 ----- keyboards/alt34/rev1/info.json | 58 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 58 insertions(+), 79 deletions(-) delete mode 100644 keyboards/alt34/config.h delete mode 100644 keyboards/alt34/info.json create mode 100644 keyboards/alt34/rev1/info.json (limited to 'keyboards/alt34') 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 . -*/ - -#pragma once - -#include "config_common.h" diff --git a/keyboards/alt34/info.json b/keyboards/alt34/info.json deleted file mode 100644 index 647c853136..0000000000 --- a/keyboards/alt34/info.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "keyboard_name": "alt34", - "url": "https://gitlab.com/altosys/alt34", - "maintainer": "@altosys", - "layouts": { - "LAYOUT_split_3x5_2": { - "layout": [ - {"x": 0, "y": 0.93}, - {"x": 1, "y": 0.31}, - {"x": 2, "y": 0}, - {"x": 3, "y": 0.28}, - {"x": 4, "y": 0.42}, - - {"x": 7, "y": 0.42}, - {"x": 8, "y": 0.28}, - {"x": 9, "y": 0}, - {"x": 10, "y": 0.31}, - {"x": 11, "y": 0.93}, - - {"x": 0, "y": 1.93}, - {"x": 1, "y": 1.31}, - {"x": 2, "y": 1}, - {"x": 3, "y": 1.28}, - {"x": 4, "y": 1.42}, - - {"x": 7, "y": 1.42}, - {"x": 8, "y": 1.28}, - {"x": 9, "y": 1}, - {"x": 10, "y": 1.31}, - {"x": 11, "y": 1.93}, - - {"x": 0, "y": 2.93}, - {"x": 1, "y": 2.31}, - {"x": 2, "y": 2}, - {"x": 3, "y": 2.28}, - {"x": 4, "y": 2.42}, - - {"x": 7, "y": 2.42}, - {"x": 8, "y": 2.28}, - {"x": 9, "y": 2}, - {"x": 10, "y": 2.31}, - {"x": 11, "y": 2.93}, - - {"x": 3.5, "y": 3.45}, - {"x": 4.5, "y": 3.7}, - - {"x": 6.5, "y": 3.7}, - {"x": 7.5, "y": 3.45} - ] - } - } -} 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 . #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/rev1/info.json b/keyboards/alt34/rev1/info.json new file mode 100644 index 0000000000..0d22194885 --- /dev/null +++ b/keyboards/alt34/rev1/info.json @@ -0,0 +1,58 @@ +{ + "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": [ + {"x": 0, "y": 0.93}, + {"x": 1, "y": 0.31}, + {"x": 2, "y": 0}, + {"x": 3, "y": 0.28}, + {"x": 4, "y": 0.42}, + + {"x": 7, "y": 0.42}, + {"x": 8, "y": 0.28}, + {"x": 9, "y": 0}, + {"x": 10, "y": 0.31}, + {"x": 11, "y": 0.93}, + + {"x": 0, "y": 1.93}, + {"x": 1, "y": 1.31}, + {"x": 2, "y": 1}, + {"x": 3, "y": 1.28}, + {"x": 4, "y": 1.42}, + + {"x": 7, "y": 1.42}, + {"x": 8, "y": 1.28}, + {"x": 9, "y": 1}, + {"x": 10, "y": 1.31}, + {"x": 11, "y": 1.93}, + + {"x": 0, "y": 2.93}, + {"x": 1, "y": 2.31}, + {"x": 2, "y": 2}, + {"x": 3, "y": 2.28}, + {"x": 4, "y": 2.42}, + + {"x": 7, "y": 2.42}, + {"x": 8, "y": 2.28}, + {"x": 9, "y": 2}, + {"x": 10, "y": 2.31}, + {"x": 11, "y": 2.93}, + + {"x": 3.5, "y": 3.45}, + {"x": 4.5, "y": 3.7}, + + {"x": 6.5, "y": 3.7}, + {"x": 7.5, "y": 3.45} + ] + } + } +} -- cgit v1.2.3