diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-14 10:47:05 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-13 17:47:05 -0700 |
commit | 30796913913c0f6dc0cce317ad8249de2b602294 (patch) | |
tree | 74c69b26ecb9c9923b3e5b8b4c9b9904741ed6d0 /keyboards/alt34/rev1 | |
parent | 0f1bb982e97f0779e2885970f5e4677dbb555926 (diff) |
Move keyboard USB IDs and strings to data driven, pass 2: 0-9, A (#17941)
Diffstat (limited to 'keyboards/alt34/rev1')
-rw-r--r-- | keyboards/alt34/rev1/config.h | 7 | ||||
-rw-r--r-- | keyboards/alt34/rev1/info.json | 58 |
2 files changed, 58 insertions, 7 deletions
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/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} + ] + } + } +} |