Move keyboard USB IDs and strings to data driven: handwired (#17822)

This commit is contained in:
Ryan
2022-07-30 17:31:44 +10:00
committed by GitHub
parent 1c6b0391b4
commit 2d778d2ff2
327 changed files with 1044 additions and 1192 deletions

View File

@@ -17,17 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x0805
#define MANUFACTURER JSA
#define PRODUCT Angel
/* USB Version in Binary-coded decimal: 0xJJMN where
* JJ is the major number, M is minor, N is sub minor. */
#define DEVICE_VER 0x0100 // Version 1.00: hand-wire
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 13

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "Angel",
"manufacturer": "JSA",
"url": "https://github.com/jamessa/Angel",
"maintainer": "jamessa",
"usb": {
"vid": "0xFEED",
"pid": "0x0805",
"device_version": "1.0.0"
},
"layouts": {
"LAYOUT": {
"layout": [{"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":0.5, "y":1}, {"x":1.5, "y":1}, {"x":2.5, "y":1}, {"x":3.5, "y":1}, {"x":4.5, "y":1}, {"x":5.5, "y":1}, {"x":6.5, "y":1}, {"x":7.5, "y":1}, {"x":8.5, "y":1}, {"x":9.5, "y":1}, {"x":10.5, "y":1}, {"x":11.5, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2}, {"x":0.5, "y":3}, {"x":1.5, "y":3}, {"x":2.5, "y":3}, {"x":3.5, "y":3}, {"x":4.5, "y":3, "w":1.25}, {"x":5.75, "y":3, "w":1.5}, {"x":7.25, "y":3, "w":1.25}, {"x":8.5, "y":3}, {"x":9.5, "y":3}, {"x":10.5, "y":3}, {"x":11.5, "y":3}]