Move keyboard USB IDs and strings to data driven, pass 2: 0-9, A (#17941)

This commit is contained in:
Ryan
2022-08-14 10:47:05 +10:00
committed by GitHub
parent 0f1bb982e9
commit 3079691391
137 changed files with 422 additions and 510 deletions

View File

@@ -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

View File

@@ -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}
]
}
}
}