From 51d5aad25b92a34bc051849616fcd93e3ae407fc Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 15 Aug 2022 13:30:12 +1000 Subject: Move keyboard USB IDs and strings to data driven, pass 2: D-E (#17956) --- keyboards/ergoslab/info.json | 63 ----------------------------------- keyboards/ergoslab/rev1/config.h | 7 ---- keyboards/ergoslab/rev1/info.json | 69 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+), 70 deletions(-) delete mode 100644 keyboards/ergoslab/info.json create mode 100644 keyboards/ergoslab/rev1/info.json (limited to 'keyboards/ergoslab') diff --git a/keyboards/ergoslab/info.json b/keyboards/ergoslab/info.json deleted file mode 100644 index e37a3b7cbf..0000000000 --- a/keyboards/ergoslab/info.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "keyboard_name": "ergoslab", - "url": "https://github.com/tomsaleeba/ergoslab", - "maintainer": "tomsaleeba", - "layouts": { - "LAYOUT_ergoslab": { - "layout": [ - {"label":"Q", "x":0, "y":0.625}, - {"label":"W", "x":1, "y":0.125}, - {"label":"E", "x":2, "y":0}, - {"label":"R", "x":3, "y":0.125}, - {"label":"T", "x":4, "y":0.25}, - {"label":"Y", "x":8, "y":0.25}, - {"label":"U", "x":9, "y":0.125}, - {"label":"I", "x":10, "y":0}, - {"label":"O", "x":11, "y":0.125}, - {"label":"P", "x":12, "y":0.625}, - {"label":"A", "x":0, "y":1.625}, - {"label":"S", "x":1, "y":1.125}, - {"label":"D", "x":2, "y":1}, - {"label":"F", "x":3, "y":1.125}, - {"label":"G", "x":4, "y":1.25}, - {"label":"H", "x":8, "y":1.25}, - {"label":"J", "x":9, "y":1.125}, - {"label":"K", "x":10, "y":1}, - {"label":"L", "x":11, "y":1.125}, - {"label":";", "x":12, "y":1.625}, - {"label":"Z", "x":0, "y":2.625}, - {"label":"X", "x":1, "y":2.125}, - {"label":"C", "x":2, "y":2}, - {"label":"V", "x":3, "y":2.125}, - {"label":"B", "x":4, "y":2.25}, - {"label":"N", "x":8, "y":2.25}, - {"label":"M", "x":9, "y":2.125}, - {"label":",", "x":10, "y":2}, - {"label":".", "x":11, "y":2.125}, - {"label":"/", "x":12, "y":2.625}, - {"label":"'", "x":0, "y":3.625}, - {"label":"Alt", "x":1, "y":3.125}, - {"label":"Del", "x":2, "y":3}, - {"label":"Enter", "x":3, "y":3.125}, - {"label":"Shift", "x":4, "y":3.25}, - {"label":"Ctrl", "x":5, "y":3.25}, - {"label":"Numb", "x":7, "y":3.25}, - {"label":"Space", "x":8, "y":3.25}, - {"label":"Left", "x":9, "y":3.125}, - {"label":"Down", "x":10, "y":3}, - {"label":"Up", "x":11, "y":3.125}, - {"label":"Right", "x":12, "y":3.625}, - {"label":"[", "x":1, "y":4.25}, - {"label":"(", "x":2, "y":4.25}, - {"label":"Esc", "x":3, "y":4.25}, - {"label":"Media", "x":4, "y":4.25}, - {"label":"GUI", "x":5, "y":4.25}, - {"label":"Tab", "x":7, "y":4.25}, - {"label":"Mouse", "x":8, "y":4.25}, - {"label":"Bspc", "x":9, "y":4.25}, - {"label":")", "x":10, "y":4.25}, - {"label":"]", "x":11, "y":4.25} - ] - } - } -} diff --git a/keyboards/ergoslab/rev1/config.h b/keyboards/ergoslab/rev1/config.h index b754a7810c..7bb092834b 100644 --- a/keyboards/ergoslab/rev1/config.h +++ b/keyboards/ergoslab/rev1/config.h @@ -17,13 +17,6 @@ along with this program. If not, see . #pragma once -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x5148 -#define DEVICE_VER 0x0100 -#define MANUFACTURER tomsaleeba -#define PRODUCT Ergoslab Keyboard - /* key matrix size */ // Rows are doubled-up #define MATRIX_ROWS 10 diff --git a/keyboards/ergoslab/rev1/info.json b/keyboards/ergoslab/rev1/info.json new file mode 100644 index 0000000000..38530960a5 --- /dev/null +++ b/keyboards/ergoslab/rev1/info.json @@ -0,0 +1,69 @@ +{ + "keyboard_name": "Ergoslab Keyboard", + "manufacturer": "tomsaleeba", + "url": "https://github.com/tomsaleeba/ergoslab", + "maintainer": "tomsaleeba", + "usb": { + "vid": "0xFEED", + "pid": "0x5148", + "device_version": "1.0.0" + }, + "layouts": { + "LAYOUT_ergoslab": { + "layout": [ + {"label":"Q", "x":0, "y":0.625}, + {"label":"W", "x":1, "y":0.125}, + {"label":"E", "x":2, "y":0}, + {"label":"R", "x":3, "y":0.125}, + {"label":"T", "x":4, "y":0.25}, + {"label":"Y", "x":8, "y":0.25}, + {"label":"U", "x":9, "y":0.125}, + {"label":"I", "x":10, "y":0}, + {"label":"O", "x":11, "y":0.125}, + {"label":"P", "x":12, "y":0.625}, + {"label":"A", "x":0, "y":1.625}, + {"label":"S", "x":1, "y":1.125}, + {"label":"D", "x":2, "y":1}, + {"label":"F", "x":3, "y":1.125}, + {"label":"G", "x":4, "y":1.25}, + {"label":"H", "x":8, "y":1.25}, + {"label":"J", "x":9, "y":1.125}, + {"label":"K", "x":10, "y":1}, + {"label":"L", "x":11, "y":1.125}, + {"label":";", "x":12, "y":1.625}, + {"label":"Z", "x":0, "y":2.625}, + {"label":"X", "x":1, "y":2.125}, + {"label":"C", "x":2, "y":2}, + {"label":"V", "x":3, "y":2.125}, + {"label":"B", "x":4, "y":2.25}, + {"label":"N", "x":8, "y":2.25}, + {"label":"M", "x":9, "y":2.125}, + {"label":",", "x":10, "y":2}, + {"label":".", "x":11, "y":2.125}, + {"label":"/", "x":12, "y":2.625}, + {"label":"'", "x":0, "y":3.625}, + {"label":"Alt", "x":1, "y":3.125}, + {"label":"Del", "x":2, "y":3}, + {"label":"Enter", "x":3, "y":3.125}, + {"label":"Shift", "x":4, "y":3.25}, + {"label":"Ctrl", "x":5, "y":3.25}, + {"label":"Numb", "x":7, "y":3.25}, + {"label":"Space", "x":8, "y":3.25}, + {"label":"Left", "x":9, "y":3.125}, + {"label":"Down", "x":10, "y":3}, + {"label":"Up", "x":11, "y":3.125}, + {"label":"Right", "x":12, "y":3.625}, + {"label":"[", "x":1, "y":4.25}, + {"label":"(", "x":2, "y":4.25}, + {"label":"Esc", "x":3, "y":4.25}, + {"label":"Media", "x":4, "y":4.25}, + {"label":"GUI", "x":5, "y":4.25}, + {"label":"Tab", "x":7, "y":4.25}, + {"label":"Mouse", "x":8, "y":4.25}, + {"label":"Bspc", "x":9, "y":4.25}, + {"label":")", "x":10, "y":4.25}, + {"label":"]", "x":11, "y":4.25} + ] + } + } +} -- cgit v1.2.3