Move single LAYOUTs to data driven (#20365)

This commit is contained in:
Ryan 2023-04-12 13:42:51 +10:00 committed by GitHub
parent 941e159a28
commit 5bd68e3695
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1443 changed files with 45214 additions and 59923 deletions

View file

@ -24,102 +24,110 @@
"layouts": {
"LAYOUT": {
"layout": [
{"label":"Esc", "x":0, "y":0},
{"label":"F1", "x":2, "y":0},
{"label":"F2", "x":3, "y":0},
{"label":"F3", "x":4, "y":0},
{"label":"F4", "x":5, "y":0},
{"label":"F5", "x":6.5, "y":0},
{"label":"F6", "x":7.5, "y":0},
{"label":"F7", "x":8.5, "y":0},
{"label":"F8", "x":9.5, "y":0},
{"label":"F9", "x":11, "y":0},
{"label":"F10", "x":12, "y":0},
{"label":"F11", "x":13, "y":0},
{"label":"F12", "x":14, "y":0},
{"label":"Pause / SysReq", "x":15.5, "y":0},
{"label":"Scroll Lock / Num Lock", "x":16.5, "y":0},
{"label":"Pause / Reset", "x":17.5, "y":0},
{"matrix": [0, 1], "x": 0, "y": 0},
{"label":"`", "x":0, "y":2},
{"label":"1", "x":1, "y":2},
{"label":"2", "x":2, "y":2},
{"label":"3", "x":3, "y":2},
{"label":"4", "x":4, "y":2},
{"label":"5", "x":5, "y":2},
{"label":"6", "x":6, "y":2},
{"label":"7", "x":7, "y":2},
{"label":"8", "x":8, "y":2},
{"label":"9", "x":9, "y":2},
{"label":"0", "x":10, "y":2},
{"label":"-", "x":11, "y":2},
{"label":"=", "x":12, "y":2},
{"label":"No", "x":13, "y":2},
{"label":"Backspace", "x":14, "y":2},
{"label":"Insert", "x":15.5, "y":2},
{"label":"Home", "x":16.5, "y":2},
{"label":"Page Up", "x":17.5, "y":2},
{"matrix": [2, 2], "x": 2, "y": 0},
{"matrix": [0, 4], "x": 3, "y": 0},
{"matrix": [0, 5], "x": 4, "y": 0},
{"matrix": [0, 6], "x": 5, "y": 0},
{"label":"Tab", "x":0, "y":3, "w":1.5},
{"label":"Q", "x":1.5, "y":3},
{"label":"W", "x":2.5, "y":3},
{"label":"E", "x":3.5, "y":3},
{"label":"R", "x":4.5, "y":3},
{"label":"T", "x":5.5, "y":3},
{"label":"Y", "x":6.5, "y":3},
{"label":"U", "x":7.5, "y":3},
{"label":"I", "x":8.5, "y":3},
{"label":"O", "x":9.5, "y":3},
{"label":"P", "x":10.5, "y":3},
{"label":"[", "x":11.5, "y":3},
{"label":"]", "x":12.5, "y":3},
{"label":"\\", "x":13.5, "y":3, "w":1.5},
{"label":"Delete", "x":15.5, "y":3},
{"label":"End", "x":16.5, "y":3},
{"label":"Page Down", "x":17.5, "y":3},
{"matrix": [1, 8], "x": 6.5, "y": 0},
{"matrix": [3, 8], "x": 7.5, "y": 0},
{"matrix": [4, 8], "x": 8.5, "y": 0},
{"matrix": [5, 8], "x": 9.5, "y": 0},
{"label":"Caps Lock", "x":0, "y":4, "w":1.75},
{"label":"A", "x":1.75, "y":4},
{"label":"S", "x":2.75, "y":4},
{"label":"D", "x":3.75, "y":4},
{"label":"F", "x":4.75, "y":4},
{"label":"G", "x":5.75, "y":4},
{"label":"H", "x":6.75, "y":4},
{"label":"J", "x":7.75, "y":4},
{"label":"K", "x":8.75, "y":4},
{"label":"L", "x":9.75, "y":4},
{"label":";", "x":10.75, "y":4},
{"label":"'", "x":11.75, "y":4},
{"label":"No", "x":12.75, "y":4},
{"label":"Enter", "x":13.75, "y":4, "w":1.25},
{"matrix": [6, 8], "x": 11, "y": 0},
{"matrix": [6, 10], "x": 12, "y": 0},
{"matrix": [6, 11], "x": 13, "y": 0},
{"matrix": [7, 11], "x": 14, "y": 0},
{"label":"Shift", "x":0, "y":5, "w":1.25},
{"label":"No", "x":1.25, "y":5},
{"label":"Z", "x":2.25, "y":5},
{"label":"X", "x":3.25, "y":5},
{"label":"C", "x":4.25, "y":5},
{"label":"V", "x":5.25, "y":5},
{"label":"B", "x":6.25, "y":5},
{"label":"N", "x":7.25, "y":5},
{"label":"M", "x":8.25, "y":5},
{"label":",", "x":9.25, "y":5},
{"label":".", "x":10.25, "y":5},
{"label":"/", "x":11.25, "y":5},
{"label":"No", "x":12.25, "y":5},
{"label":"Shift", "x":13.25, "y":5, "w":1.75},
{"label":"Up", "x":16.5, "y":5},
{"matrix": [6, 13], "x": 15.5, "y": 0},
{"matrix": [7, 13], "x": 16.5, "y": 0},
{"matrix": [11, 15], "x": 17.5, "y": 0},
{"label":"Ctrl", "x":0, "y":6, "w":1.5},
{"label":"GUI", "x":1.5, "y":6},
{"label":"Alt", "x":2.5, "y":6, "w":1.5},
{"label":"Space", "x":4, "y":6, "w":6},
{"label":"Alt", "x":10, "y":6},
{"label":"GUI", "x":11, "y":6, "w":1.5},
{"label":"App", "x":12.5, "y":6},
{"label":"Ctrl", "x":13.5, "y":6, "w":1.5},
{"label":"Left", "x":15.5, "y":6},
{"label":"Down", "x":16.5, "y":6},
{"label":"Right", "x":17.5, "y":6}
{"matrix": [0, 0], "x": 0, "y": 2},
{"matrix": [3, 2], "x": 1, "y": 2},
{"matrix": [6, 2], "x": 2, "y": 2},
{"matrix": [7, 2], "x": 3, "y": 2},
{"matrix": [4, 2], "x": 4, "y": 2},
{"matrix": [0, 2], "x": 5, "y": 2},
{"matrix": [1, 7], "x": 6, "y": 2},
{"matrix": [5, 7], "x": 7, "y": 2},
{"matrix": [10, 7], "x": 8, "y": 2},
{"matrix": [9, 7], "x": 9, "y": 2},
{"matrix": [8, 7], "x": 10, "y": 2},
{"matrix": [6, 12], "x": 11, "y": 2},
{"matrix": [6, 9], "x": 12, "y": 2},
{"matrix": [7, 12], "x": 13, "y": 2},
{"matrix": [8, 9], "x": 14, "y": 2},
{"matrix": [8, 12], "x": 15.5, "y": 2},
{"matrix": [9, 13], "x": 16.5, "y": 2},
{"matrix": [10, 12], "x": 17.5, "y": 2},
{"matrix": [2, 12], "x": 0, "y": 3, "w": 1.5},
{"matrix": [1, 2], "x": 1.5, "y": 3},
{"matrix": [5, 2], "x": 2.5, "y": 3},
{"matrix": [10, 2], "x": 3.5, "y": 3},
{"matrix": [9, 2], "x": 4.5, "y": 3},
{"matrix": [8, 2], "x": 5.5, "y": 3},
{"matrix": [3, 7], "x": 6.5, "y": 3},
{"matrix": [6, 7], "x": 7.5, "y": 3},
{"matrix": [7, 7], "x": 8.5, "y": 3},
{"matrix": [4, 7], "x": 9.5, "y": 3},
{"matrix": [0, 7], "x": 10.5, "y": 3},
{"matrix": [5, 9], "x": 11.5, "y": 3},
{"matrix": [10, 9], "x": 12.5, "y": 3},
{"matrix": [9, 9], "x": 13.5, "y": 3, "w": 1.5},
{"matrix": [11, 13], "x": 15.5, "y": 3},
{"matrix": [8, 11], "x": 16.5, "y": 3},
{"matrix": [10, 13], "x": 17.5, "y": 3},
{"matrix": [1, 0], "x": 0, "y": 4, "w": 1.75},
{"matrix": [2, 11], "x": 1.75, "y": 4},
{"matrix": [2, 0], "x": 2.75, "y": 4},
{"matrix": [2, 1], "x": 3.75, "y": 4},
{"matrix": [2, 3], "x": 4.75, "y": 4},
{"matrix": [2, 4], "x": 5.75, "y": 4},
{"matrix": [11, 5], "x": 6.75, "y": 4},
{"matrix": [11, 8], "x": 7.75, "y": 4},
{"matrix": [11, 6], "x": 8.75, "y": 4},
{"matrix": [11, 9], "x": 9.75, "y": 4},
{"matrix": [11, 10], "x": 10.75, "y": 4},
{"matrix": [11, 12], "x": 11.75, "y": 4},
{"matrix": [1, 13], "x": 12.75, "y": 4},
{"matrix": [0, 13], "x": 13.75, "y": 4, "w": 1.25},
{"matrix": [4, 15], "x": 0, "y": 5, "w": 1.25},
{"matrix": [1, 1], "x": 1.25, "y": 5},
{"matrix": [2, 5], "x": 2.25, "y": 5},
{"matrix": [2, 8], "x": 3.25, "y": 5},
{"matrix": [2, 6], "x": 4.25, "y": 5},
{"matrix": [2, 9], "x": 5.25, "y": 5},
{"matrix": [2, 10], "x": 6.25, "y": 5},
{"matrix": [11, 11], "x": 7.25, "y": 5},
{"matrix": [11, 0], "x": 8.25, "y": 5},
{"matrix": [11, 1], "x": 9.25, "y": 5},
{"matrix": [11, 3], "x": 10.25, "y": 5},
{"matrix": [11, 4], "x": 11.25, "y": 5},
{"matrix": [0, 3], "x": 12.25, "y": 5},
{"matrix": [1, 15], "x": 13.25, "y": 5, "w": 1.75},
{"matrix": [8, 10], "x": 16.5, "y": 5},
{"matrix": [4, 14], "x": 0, "y": 6, "w": 1.5},
{"matrix": [3, 11], "x": 1.5, "y": 6},
{"matrix": [0, 12], "x": 2.5, "y": 6, "w": 1.5},
{"matrix": [10, 0], "x": 4, "y": 6, "w": 6},
{"matrix": [9, 3], "x": 10, "y": 6},
{"matrix": [5, 10], "x": 11, "y": 6, "w": 1.5},
{"matrix": [10, 4], "x": 12.5, "y": 6},
{"matrix": [1, 14], "x": 13.5, "y": 6, "w": 1.5},
{"matrix": [9, 4], "x": 15.5, "y": 6},
{"matrix": [10, 11], "x": 16.5, "y": 6},
{"matrix": [10, 10], "x": 17.5, "y": 6}
]
}
}