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/arabica37/config.h | 21 ------------ keyboards/arabica37/info.json | 63 ---------------------------------- keyboards/arabica37/rev1/config.h | 7 ---- keyboards/arabica37/rev1/info.json | 69 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 69 insertions(+), 91 deletions(-) delete mode 100644 keyboards/arabica37/config.h delete mode 100644 keyboards/arabica37/info.json create mode 100644 keyboards/arabica37/rev1/info.json (limited to 'keyboards/arabica37') diff --git a/keyboards/arabica37/config.h b/keyboards/arabica37/config.h deleted file mode 100644 index cfb6bf4ffc..0000000000 --- a/keyboards/arabica37/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* -Copyright 2012 Jun Wako -Copyright 2015 Jack Humbert - -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/arabica37/info.json b/keyboards/arabica37/info.json deleted file mode 100644 index 4aae9a6444..0000000000 --- a/keyboards/arabica37/info.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "keyboard_name": "arabica37 rev. 1", - "url": "", - "maintainer": "qmk", - "layouts": { - "LAYOUT": { - "layout": [ - {"label":"Esc", "x":0.25, "y":0.75}, - {"label":"Q", "x":1.25, "y":0.75}, - {"label":"W", "x":2.25, "y":0.25}, - {"label":"E", "x":3.25, "y":0}, - {"label":"R", "x":4.25, "y":0.25}, - {"label":"T", "x":5.25, "y":0.5}, - - {"label":"Y", "x":9, "y":0.5}, - {"label":"U", "x":10, "y":0.25}, - {"label":"I", "x":11, "y":0}, - {"label":"O", "x":12, "y":0.25}, - {"label":"P", "x":13, "y":0.75}, - {"label":"Backspace", "x":14, "y":0.75}, - - {"label":"Ctrl", "x":0.25, "y":1.75}, - {"label":"A", "x":1.25, "y":1.75}, - {"label":"S", "x":2.25, "y":1.25}, - {"label":"D", "x":3.25, "y":1}, - {"label":"F", "x":4.25, "y":1.25}, - {"label":"G", "x":5.25, "y":1.5}, - - {"label":"H", "x":9, "y":1.5}, - {"label":"J", "x":10, "y":1.25}, - {"label":"K", "x":11, "y":1}, - {"label":"L", "x":12, "y":1.25}, - {"label":";", "x":13, "y":1.75}, - {"label":"'", "x":14, "y":1.75}, - - {"label":"Adjust", "x":0.25, "y":2.75}, - {"label":"Z", "x":1.25, "y":2.75}, - {"label":"X", "x":2.25, "y":2.25}, - {"label":"C", "x":3.25, "y":2}, - {"label":"V", "x":4.25, "y":2.25}, - {"label":"B", "x":5.25, "y":2.5}, - - {"label":"N", "x":9, "y":2.5}, - {"label":"M", "x":10, "y":2.25}, - {"label":",", "x":11, "y":2}, - {"label":".", "x":12, "y":2.25}, - {"label":"/", "x":13, "y":2.75}, - {"label":"\\", "x":14, "y":2.75}, - - {"label":"Shift", "x":0, "y":3.75, "w":2.25}, - {"label":"Lower", "x":4.375, "y":3.75, "w":1.5}, - {"label":"GUI", "x":5.875, "y":3.75, "w":1.25}, - - {"label":"Alt", "x":8.125, "y":3.75, "w":1.25}, - {"label":"Raise", "x":9.375, "y":3.75, "w":1.5}, - {"label":"Shift", "x":13, "y":3.75, "w":2.25}, - - {"label":"Space", "x":5.125, "y":4.75, "w":1.25}, - {"label":"Enter", "x":8.875, "y":4.75, "w":1.25} - ] - } - } -} diff --git a/keyboards/arabica37/rev1/config.h b/keyboards/arabica37/rev1/config.h index c0339a1a09..b3a9fd3f89 100644 --- a/keyboards/arabica37/rev1/config.h +++ b/keyboards/arabica37/rev1/config.h @@ -18,13 +18,6 @@ along with this program. If not, see . #pragma once -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x3060 -#define DEVICE_VER 0x0001 -#define MANUFACTURER CalciumNitride -#define PRODUCT Arabica3/7 - #define USE_SERIAL #define SOFT_SERIAL_PIN D2 diff --git a/keyboards/arabica37/rev1/info.json b/keyboards/arabica37/rev1/info.json new file mode 100644 index 0000000000..00d29b54a0 --- /dev/null +++ b/keyboards/arabica37/rev1/info.json @@ -0,0 +1,69 @@ +{ + "keyboard_name": "Arabica3/7", + "manufacturer": "CalciumNitride", + "url": "", + "maintainer": "qmk", + "usb": { + "vid": "0xFEED", + "pid": "0x3060", + "device_version": "0.0.1" + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"label":"Esc", "x":0.25, "y":0.75}, + {"label":"Q", "x":1.25, "y":0.75}, + {"label":"W", "x":2.25, "y":0.25}, + {"label":"E", "x":3.25, "y":0}, + {"label":"R", "x":4.25, "y":0.25}, + {"label":"T", "x":5.25, "y":0.5}, + + {"label":"Y", "x":9, "y":0.5}, + {"label":"U", "x":10, "y":0.25}, + {"label":"I", "x":11, "y":0}, + {"label":"O", "x":12, "y":0.25}, + {"label":"P", "x":13, "y":0.75}, + {"label":"Backspace", "x":14, "y":0.75}, + + {"label":"Ctrl", "x":0.25, "y":1.75}, + {"label":"A", "x":1.25, "y":1.75}, + {"label":"S", "x":2.25, "y":1.25}, + {"label":"D", "x":3.25, "y":1}, + {"label":"F", "x":4.25, "y":1.25}, + {"label":"G", "x":5.25, "y":1.5}, + + {"label":"H", "x":9, "y":1.5}, + {"label":"J", "x":10, "y":1.25}, + {"label":"K", "x":11, "y":1}, + {"label":"L", "x":12, "y":1.25}, + {"label":";", "x":13, "y":1.75}, + {"label":"'", "x":14, "y":1.75}, + + {"label":"Adjust", "x":0.25, "y":2.75}, + {"label":"Z", "x":1.25, "y":2.75}, + {"label":"X", "x":2.25, "y":2.25}, + {"label":"C", "x":3.25, "y":2}, + {"label":"V", "x":4.25, "y":2.25}, + {"label":"B", "x":5.25, "y":2.5}, + + {"label":"N", "x":9, "y":2.5}, + {"label":"M", "x":10, "y":2.25}, + {"label":",", "x":11, "y":2}, + {"label":".", "x":12, "y":2.25}, + {"label":"/", "x":13, "y":2.75}, + {"label":"\\", "x":14, "y":2.75}, + + {"label":"Shift", "x":0, "y":3.75, "w":2.25}, + {"label":"Lower", "x":4.375, "y":3.75, "w":1.5}, + {"label":"GUI", "x":5.875, "y":3.75, "w":1.25}, + + {"label":"Alt", "x":8.125, "y":3.75, "w":1.25}, + {"label":"Raise", "x":9.375, "y":3.75, "w":1.5}, + {"label":"Shift", "x":13, "y":3.75, "w":2.25}, + + {"label":"Space", "x":5.125, "y":4.75, "w":1.25}, + {"label":"Enter", "x":8.875, "y":4.75, "w":1.25} + ] + } + } +} -- cgit v1.2.3