Browse Source

Merge branch 'master' into master

pull/23157/head
spacehangover 1 month ago
committed by GitHub
parent
commit
74df05993a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
7 changed files with 878 additions and 71 deletions
  1. +16
    -16
      keyboards/kb_elmo/aek2_usb/info.json
  2. +733
    -17
      keyboards/kbdfans/kbd19x/info.json
  3. +28
    -0
      keyboards/kbdfans/kbd19x/matrix_diagram.md
  4. +67
    -25
      quantum/encoder.c
  5. +9
    -4
      quantum/encoder.h
  6. +1
    -1
      quantum/split_common/transaction_id_define.h
  7. +24
    -8
      quantum/split_common/transactions.c

+ 16
- 16
keyboards/kb_elmo/aek2_usb/info.json View File

@ -134,22 +134,22 @@
{"matrix": [7, 11], "x": 19, "y": 5},
{"matrix": [6, 10], "x": 20, "y": 5},
{"matrix": [6, 9], "x": 21, "y": 5},
{"matrix": [5, 0], "x": 22, "y": 5, "h": 2},
{"matrix": [5, 1], "x": 0, "y": 6, "w": 1.5},
{"matrix": [5, 2], "x": 1.5, "y": 6, "w": 1.25},
{"matrix": [5, 5], "x": 2.75, "y": 6, "w": 1.5},
{"matrix": [5, 10], "x": 4.25, "y": 6, "w": 6.5},
{"matrix": [5, 11], "x": 10.75, "y": 6, "w": 1.5},
{"matrix": [5, 13], "x": 12.25, "y": 6, "w": 1.25},
{"matrix": [5, 7], "x": 13.5, "y": 6, "w": 1.5},
{"matrix": [5, 9], "x": 15.5, "y": 6},
{"matrix": [5, 6], "x": 16.5, "y": 6},
{"matrix": [7, 10], "x": 17.5, "y": 6},
{"matrix": [7, 9], "x": 19, "y": 6, "w": 2},
{"matrix": [7, 8], "x": 21, "y": 6}
{"matrix": [5, 0], "x": 0, "y": 6, "w": 1.5},
{"matrix": [5, 1], "x": 1.5, "y": 6, "w": 1.25},
{"matrix": [5, 2], "x": 2.75, "y": 6, "w": 1.5},
{"matrix": [5, 5], "x": 4.25, "y": 6, "w": 6.5},
{"matrix": [5, 10], "x": 10.75, "y": 6, "w": 1.5},
{"matrix": [5, 11], "x": 12.25, "y": 6, "w": 1.25},
{"matrix": [5, 13], "x": 13.5, "y": 6, "w": 1.5},
{"matrix": [5, 7], "x": 15.5, "y": 6},
{"matrix": [5, 9], "x": 16.5, "y": 6},
{"matrix": [5, 6], "x": 17.5, "y": 6},
{"matrix": [7, 10], "x": 19, "y": 6, "w": 2},
{"matrix": [7, 9], "x": 21, "y": 6},
{"matrix": [7, 8], "x": 22, "y": 5, "h": 2}
]
}
}


+ 733
- 17
keyboards/kbdfans/kbd19x/info.json View File

@ -46,6 +46,130 @@
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT_all": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1.25, "y": 0},
{"matrix": [0, 2], "x": 2.25, "y": 0},
{"matrix": [0, 3], "x": 3.25, "y": 0},
{"matrix": [0, 4], "x": 4.25, "y": 0},
{"matrix": [6, 0], "x": 5.5, "y": 0},
{"matrix": [6, 1], "x": 6.5, "y": 0},
{"matrix": [6, 2], "x": 7.5, "y": 0},
{"matrix": [6, 3], "x": 8.5, "y": 0},
{"matrix": [0, 5], "x": 9.75, "y": 0},
{"matrix": [0, 6], "x": 10.75, "y": 0},
{"matrix": [0, 7], "x": 11.75, "y": 0},
{"matrix": [0, 8], "x": 12.75, "y": 0},
{"matrix": [7, 2], "x": 14, "y": 0},
{"matrix": [0, 9], "x": 15.5, "y": 0},
{"matrix": [0, 10], "x": 16.5, "y": 0},
{"matrix": [0, 11], "x": 17.5, "y": 0},
{"matrix": [0, 12], "x": 18.5, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1.5},
{"matrix": [1, 1], "x": 1, "y": 1.5},
{"matrix": [1, 2], "x": 2, "y": 1.5},
{"matrix": [1, 3], "x": 3, "y": 1.5},
{"matrix": [1, 4], "x": 4, "y": 1.5},
{"matrix": [6, 4], "x": 5, "y": 1.5},
{"matrix": [6, 5], "x": 6, "y": 1.5},
{"matrix": [6, 6], "x": 7, "y": 1.5},
{"matrix": [6, 7], "x": 8, "y": 1.5},
{"matrix": [1, 5], "x": 9, "y": 1.5},
{"matrix": [1, 6], "x": 10, "y": 1.5},
{"matrix": [1, 7], "x": 11, "y": 1.5},
{"matrix": [1, 8], "x": 12, "y": 1.5},
{"matrix": [7, 0], "x": 13, "y": 1.5},
{"matrix": [7, 1], "x": 14, "y": 1.5},
{"matrix": [1, 9], "x": 15.5, "y": 1.5},
{"matrix": [1, 10], "x": 16.5, "y": 1.5},
{"matrix": [1, 11], "x": 17.5, "y": 1.5},
{"matrix": [1, 12], "x": 18.5, "y": 1.5},
{"matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5},
{"matrix": [2, 1], "x": 1.5, "y": 2.5},
{"matrix": [2, 2], "x": 2.5, "y": 2.5},
{"matrix": [2, 3], "x": 3.5, "y": 2.5},
{"matrix": [2, 4], "x": 4.5, "y": 2.5},
{"matrix": [6, 8], "x": 5.5, "y": 2.5},
{"matrix": [6, 9], "x": 6.5, "y": 2.5},
{"matrix": [6, 10], "x": 7.5, "y": 2.5},
{"matrix": [6, 11], "x": 8.5, "y": 2.5},
{"matrix": [2, 5], "x": 9.5, "y": 2.5},
{"matrix": [2, 6], "x": 10.5, "y": 2.5},
{"matrix": [2, 7], "x": 11.5, "y": 2.5},
{"matrix": [2, 8], "x": 12.5, "y": 2.5},
{"matrix": [7, 3], "x": 13.5, "y": 2.5, "w": 1.5},
{"matrix": [2, 9], "x": 15.5, "y": 2.5},
{"matrix": [2, 10], "x": 16.5, "y": 2.5},
{"matrix": [2, 11], "x": 17.5, "y": 2.5},
{"matrix": [2, 12], "x": 18.5, "y": 2.5},
{"matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75},
{"matrix": [3, 1], "x": 1.75, "y": 3.5},
{"matrix": [3, 2], "x": 2.75, "y": 3.5},
{"matrix": [3, 3], "x": 3.75, "y": 3.5},
{"matrix": [3, 4], "x": 4.75, "y": 3.5},
{"matrix": [6, 12], "x": 5.75, "y": 3.5},
{"matrix": [7, 5], "x": 6.75, "y": 3.5},
{"matrix": [7, 6], "x": 7.75, "y": 3.5},
{"matrix": [7, 7], "x": 8.75, "y": 3.5},
{"matrix": [3, 5], "x": 9.75, "y": 3.5},
{"matrix": [3, 6], "x": 10.75, "y": 3.5},
{"matrix": [3, 7], "x": 11.75, "y": 3.5},
{"matrix": [3, 8], "x": 12.75, "y": 3.5, "w": 2.25},
{"matrix": [3, 9], "x": 15.5, "y": 3.5},
{"matrix": [3, 10], "x": 16.5, "y": 3.5},
{"matrix": [3, 11], "x": 17.5, "y": 3.5},
{"matrix": [3, 12], "x": 18.5, "y": 3.5},
{"matrix": [4, 0], "x": 0, "y": 4.5, "w": 1.25},
{"matrix": [4, 1], "x": 1.25, "y": 4.5},
{"matrix": [4, 2], "x": 2.25, "y": 4.5},
{"matrix": [4, 3], "x": 3.25, "y": 4.5},
{"matrix": [4, 4], "x": 4.25, "y": 4.5},
{"matrix": [7, 8], "x": 5.25, "y": 4.5},
{"matrix": [7, 9], "x": 6.25, "y": 4.5},
{"matrix": [7, 10], "x": 7.25, "y": 4.5},
{"matrix": [7, 11], "x": 8.25, "y": 4.5},
{"matrix": [4, 5], "x": 9.25, "y": 4.5},
{"matrix": [4, 6], "x": 10.25, "y": 4.5},
{"matrix": [4, 7], "x": 11.25, "y": 4.5},
{"matrix": [4, 8], "x": 12.25, "y": 4.5, "w": 1.75},
{"matrix": [7, 4], "x": 14.25, "y": 4.75},
{"matrix": [4, 9], "x": 15.5, "y": 4.5},
{"matrix": [4, 10], "x": 16.5, "y": 4.5},
{"matrix": [4, 11], "x": 17.5, "y": 4.5},
{"matrix": [4, 12], "x": 18.5, "y": 4.5},
{"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.25},
{"matrix": [5, 1], "x": 1.25, "y": 5.5},
{"matrix": [5, 2], "x": 2.25, "y": 5.5, "w": 1.25},
{"matrix": [5, 9], "x": 3.5, "y": 5.5, "w": 6.25},
{"matrix": [5, 5], "x": 9.75, "y": 5.5},
{"matrix": [5, 6], "x": 10.75, "y": 5.5},
{"matrix": [5, 7], "x": 11.75, "y": 5.5, "w": 1.25},
{"matrix": [5, 8], "x": 13.25, "y": 5.75},
{"matrix": [5, 3], "x": 14.25, "y": 5.75},
{"matrix": [5, 4], "x": 15.25, "y": 5.75},
{"matrix": [5, 10], "x": 16.5, "y": 5.5},
{"matrix": [5, 11], "x": 17.5, "y": 5.5},
{"matrix": [5, 12], "x": 18.5, "y": 5.5}
]
},
"LAYOUT_ansi": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
@ -85,7 +209,367 @@
{"matrix": [1, 6], "x": 10, "y": 1.5},
{"matrix": [1, 7], "x": 11, "y": 1.5},
{"matrix": [1, 8], "x": 12, "y": 1.5},
{"matrix": [7, 1], "x": 13, "y": 1.5, "w": 2},
{"matrix": [7, 1], "x": 13, "y": 1.5, "w": 2},
{"matrix": [1, 9], "x": 15.5, "y": 1.5},
{"matrix": [1, 10], "x": 16.5, "y": 1.5},
{"matrix": [1, 11], "x": 17.5, "y": 1.5},
{"matrix": [1, 12], "x": 18.5, "y": 1.5},
{"matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5},
{"matrix": [2, 1], "x": 1.5, "y": 2.5},
{"matrix": [2, 2], "x": 2.5, "y": 2.5},
{"matrix": [2, 3], "x": 3.5, "y": 2.5},
{"matrix": [2, 4], "x": 4.5, "y": 2.5},
{"matrix": [6, 8], "x": 5.5, "y": 2.5},
{"matrix": [6, 9], "x": 6.5, "y": 2.5},
{"matrix": [6, 10], "x": 7.5, "y": 2.5},
{"matrix": [6, 11], "x": 8.5, "y": 2.5},
{"matrix": [2, 5], "x": 9.5, "y": 2.5},
{"matrix": [2, 6], "x": 10.5, "y": 2.5},
{"matrix": [2, 7], "x": 11.5, "y": 2.5},
{"matrix": [2, 8], "x": 12.5, "y": 2.5},
{"matrix": [7, 3], "x": 13.5, "y": 2.5, "w": 1.5},
{"matrix": [2, 9], "x": 15.5, "y": 2.5},
{"matrix": [2, 10], "x": 16.5, "y": 2.5},
{"matrix": [2, 11], "x": 17.5, "y": 2.5},
{"matrix": [2, 12], "x": 18.5, "y": 2.5, "h": 2},
{"matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75},
{"matrix": [3, 1], "x": 1.75, "y": 3.5},
{"matrix": [3, 2], "x": 2.75, "y": 3.5},
{"matrix": [3, 3], "x": 3.75, "y": 3.5},
{"matrix": [3, 4], "x": 4.75, "y": 3.5},
{"matrix": [6, 12], "x": 5.75, "y": 3.5},
{"matrix": [7, 5], "x": 6.75, "y": 3.5},
{"matrix": [7, 6], "x": 7.75, "y": 3.5},
{"matrix": [7, 7], "x": 8.75, "y": 3.5},
{"matrix": [3, 5], "x": 9.75, "y": 3.5},
{"matrix": [3, 6], "x": 10.75, "y": 3.5},
{"matrix": [3, 7], "x": 11.75, "y": 3.5},
{"matrix": [3, 8], "x": 12.75, "y": 3.5, "w": 2.25},
{"matrix": [3, 9], "x": 15.5, "y": 3.5},
{"matrix": [3, 10], "x": 16.5, "y": 3.5},
{"matrix": [3, 11], "x": 17.5, "y": 3.5},
{"matrix": [4, 0], "x": 0, "y": 4.5, "w": 2.25},
{"matrix": [4, 2], "x": 2.25, "y": 4.5},
{"matrix": [4, 3], "x": 3.25, "y": 4.5},
{"matrix": [4, 4], "x": 4.25, "y": 4.5},
{"matrix": [7, 8], "x": 5.25, "y": 4.5},
{"matrix": [7, 9], "x": 6.25, "y": 4.5},
{"matrix": [7, 10], "x": 7.25, "y": 4.5},
{"matrix": [7, 11], "x": 8.25, "y": 4.5},
{"matrix": [4, 5], "x": 9.25, "y": 4.5},
{"matrix": [4, 6], "x": 10.25, "y": 4.5},
{"matrix": [4, 7], "x": 11.25, "y": 4.5},
{"matrix": [4, 8], "x": 12.25, "y": 4.5, "w": 1.75},
{"matrix": [7, 4], "x": 14.25, "y": 4.75},
{"matrix": [4, 9], "x": 15.5, "y": 4.5},
{"matrix": [4, 10], "x": 16.5, "y": 4.5},
{"matrix": [4, 11], "x": 17.5, "y": 4.5},
{"matrix": [4, 12], "x": 18.5, "y": 4.5, "h": 2},
{"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.25},
{"matrix": [5, 1], "x": 1.25, "y": 5.5},
{"matrix": [5, 2], "x": 2.25, "y": 5.5, "w": 1.25},
{"matrix": [5, 9], "x": 3.5, "y": 5.5, "w": 6.25},
{"matrix": [5, 5], "x": 9.75, "y": 5.5},
{"matrix": [5, 6], "x": 10.75, "y": 5.5},
{"matrix": [5, 7], "x": 11.75, "y": 5.5, "w": 1.25},
{"matrix": [5, 8], "x": 13.25, "y": 5.75},
{"matrix": [5, 3], "x": 14.25, "y": 5.75},
{"matrix": [5, 4], "x": 15.25, "y": 5.75},
{"matrix": [5, 10], "x": 16.5, "y": 5.5},
{"matrix": [5, 11], "x": 17.5, "y": 5.5}
]
},
"LAYOUT_ansi_split_bs": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1.25, "y": 0},
{"matrix": [0, 2], "x": 2.25, "y": 0},
{"matrix": [0, 3], "x": 3.25, "y": 0},
{"matrix": [0, 4], "x": 4.25, "y": 0},
{"matrix": [6, 0], "x": 5.5, "y": 0},
{"matrix": [6, 1], "x": 6.5, "y": 0},
{"matrix": [6, 2], "x": 7.5, "y": 0},
{"matrix": [6, 3], "x": 8.5, "y": 0},
{"matrix": [0, 5], "x": 9.75, "y": 0},
{"matrix": [0, 6], "x": 10.75, "y": 0},
{"matrix": [0, 7], "x": 11.75, "y": 0},
{"matrix": [0, 8], "x": 12.75, "y": 0},
{"matrix": [7, 2], "x": 14, "y": 0},
{"matrix": [0, 9], "x": 15.5, "y": 0},
{"matrix": [0, 10], "x": 16.5, "y": 0},
{"matrix": [0, 11], "x": 17.5, "y": 0},
{"matrix": [0, 12], "x": 18.5, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1.5},
{"matrix": [1, 1], "x": 1, "y": 1.5},
{"matrix": [1, 2], "x": 2, "y": 1.5},
{"matrix": [1, 3], "x": 3, "y": 1.5},
{"matrix": [1, 4], "x": 4, "y": 1.5},
{"matrix": [6, 4], "x": 5, "y": 1.5},
{"matrix": [6, 5], "x": 6, "y": 1.5},
{"matrix": [6, 6], "x": 7, "y": 1.5},
{"matrix": [6, 7], "x": 8, "y": 1.5},
{"matrix": [1, 5], "x": 9, "y": 1.5},
{"matrix": [1, 6], "x": 10, "y": 1.5},
{"matrix": [1, 7], "x": 11, "y": 1.5},
{"matrix": [1, 8], "x": 12, "y": 1.5},
{"matrix": [7, 0], "x": 13, "y": 1.5},
{"matrix": [7, 1], "x": 14, "y": 1.5},
{"matrix": [1, 9], "x": 15.5, "y": 1.5},
{"matrix": [1, 10], "x": 16.5, "y": 1.5},
{"matrix": [1, 11], "x": 17.5, "y": 1.5},
{"matrix": [1, 12], "x": 18.5, "y": 1.5},
{"matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5},
{"matrix": [2, 1], "x": 1.5, "y": 2.5},
{"matrix": [2, 2], "x": 2.5, "y": 2.5},
{"matrix": [2, 3], "x": 3.5, "y": 2.5},
{"matrix": [2, 4], "x": 4.5, "y": 2.5},
{"matrix": [6, 8], "x": 5.5, "y": 2.5},
{"matrix": [6, 9], "x": 6.5, "y": 2.5},
{"matrix": [6, 10], "x": 7.5, "y": 2.5},
{"matrix": [6, 11], "x": 8.5, "y": 2.5},
{"matrix": [2, 5], "x": 9.5, "y": 2.5},
{"matrix": [2, 6], "x": 10.5, "y": 2.5},
{"matrix": [2, 7], "x": 11.5, "y": 2.5},
{"matrix": [2, 8], "x": 12.5, "y": 2.5},
{"matrix": [7, 3], "x": 13.5, "y": 2.5, "w": 1.5},
{"matrix": [2, 9], "x": 15.5, "y": 2.5},
{"matrix": [2, 10], "x": 16.5, "y": 2.5},
{"matrix": [2, 11], "x": 17.5, "y": 2.5},
{"matrix": [2, 12], "x": 18.5, "y": 2.5, "h": 2},
{"matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75},
{"matrix": [3, 1], "x": 1.75, "y": 3.5},
{"matrix": [3, 2], "x": 2.75, "y": 3.5},
{"matrix": [3, 3], "x": 3.75, "y": 3.5},
{"matrix": [3, 4], "x": 4.75, "y": 3.5},
{"matrix": [6, 12], "x": 5.75, "y": 3.5},
{"matrix": [7, 5], "x": 6.75, "y": 3.5},
{"matrix": [7, 6], "x": 7.75, "y": 3.5},
{"matrix": [7, 7], "x": 8.75, "y": 3.5},
{"matrix": [3, 5], "x": 9.75, "y": 3.5},
{"matrix": [3, 6], "x": 10.75, "y": 3.5},
{"matrix": [3, 7], "x": 11.75, "y": 3.5},
{"matrix": [3, 8], "x": 12.75, "y": 3.5, "w": 2.25},
{"matrix": [3, 9], "x": 15.5, "y": 3.5},
{"matrix": [3, 10], "x": 16.5, "y": 3.5},
{"matrix": [3, 11], "x": 17.5, "y": 3.5},
{"matrix": [4, 0], "x": 0, "y": 4.5, "w": 2.25},
{"matrix": [4, 2], "x": 2.25, "y": 4.5},
{"matrix": [4, 3], "x": 3.25, "y": 4.5},
{"matrix": [4, 4], "x": 4.25, "y": 4.5},
{"matrix": [7, 8], "x": 5.25, "y": 4.5},
{"matrix": [7, 9], "x": 6.25, "y": 4.5},
{"matrix": [7, 10], "x": 7.25, "y": 4.5},
{"matrix": [7, 11], "x": 8.25, "y": 4.5},
{"matrix": [4, 5], "x": 9.25, "y": 4.5},
{"matrix": [4, 6], "x": 10.25, "y": 4.5},
{"matrix": [4, 7], "x": 11.25, "y": 4.5},
{"matrix": [4, 8], "x": 12.25, "y": 4.5, "w": 1.75},
{"matrix": [7, 4], "x": 14.25, "y": 4.75},
{"matrix": [4, 9], "x": 15.5, "y": 4.5},
{"matrix": [4, 10], "x": 16.5, "y": 4.5},
{"matrix": [4, 11], "x": 17.5, "y": 4.5},
{"matrix": [4, 12], "x": 18.5, "y": 4.5, "h": 2},
{"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.25},
{"matrix": [5, 1], "x": 1.25, "y": 5.5},
{"matrix": [5, 2], "x": 2.25, "y": 5.5, "w": 1.25},
{"matrix": [5, 9], "x": 3.5, "y": 5.5, "w": 6.25},
{"matrix": [5, 5], "x": 9.75, "y": 5.5},
{"matrix": [5, 6], "x": 10.75, "y": 5.5},
{"matrix": [5, 7], "x": 11.75, "y": 5.5, "w": 1.25},
{"matrix": [5, 8], "x": 13.25, "y": 5.75},
{"matrix": [5, 3], "x": 14.25, "y": 5.75},
{"matrix": [5, 4], "x": 15.25, "y": 5.75},
{"matrix": [5, 10], "x": 16.5, "y": 5.5},
{"matrix": [5, 11], "x": 17.5, "y": 5.5}
]
},
"LAYOUT_ansi_wkl": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1.25, "y": 0},
{"matrix": [0, 2], "x": 2.25, "y": 0},
{"matrix": [0, 3], "x": 3.25, "y": 0},
{"matrix": [0, 4], "x": 4.25, "y": 0},
{"matrix": [6, 0], "x": 5.5, "y": 0},
{"matrix": [6, 1], "x": 6.5, "y": 0},
{"matrix": [6, 2], "x": 7.5, "y": 0},
{"matrix": [6, 3], "x": 8.5, "y": 0},
{"matrix": [0, 5], "x": 9.75, "y": 0},
{"matrix": [0, 6], "x": 10.75, "y": 0},
{"matrix": [0, 7], "x": 11.75, "y": 0},
{"matrix": [0, 8], "x": 12.75, "y": 0},
{"matrix": [7, 2], "x": 14, "y": 0},
{"matrix": [0, 9], "x": 15.5, "y": 0},
{"matrix": [0, 10], "x": 16.5, "y": 0},
{"matrix": [0, 11], "x": 17.5, "y": 0},
{"matrix": [0, 12], "x": 18.5, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1.5},
{"matrix": [1, 1], "x": 1, "y": 1.5},
{"matrix": [1, 2], "x": 2, "y": 1.5},
{"matrix": [1, 3], "x": 3, "y": 1.5},
{"matrix": [1, 4], "x": 4, "y": 1.5},
{"matrix": [6, 4], "x": 5, "y": 1.5},
{"matrix": [6, 5], "x": 6, "y": 1.5},
{"matrix": [6, 6], "x": 7, "y": 1.5},
{"matrix": [6, 7], "x": 8, "y": 1.5},
{"matrix": [1, 5], "x": 9, "y": 1.5},
{"matrix": [1, 6], "x": 10, "y": 1.5},
{"matrix": [1, 7], "x": 11, "y": 1.5},
{"matrix": [1, 8], "x": 12, "y": 1.5},
{"matrix": [7, 1], "x": 13, "y": 1.5, "w": 2},
{"matrix": [1, 9], "x": 15.5, "y": 1.5},
{"matrix": [1, 10], "x": 16.5, "y": 1.5},
{"matrix": [1, 11], "x": 17.5, "y": 1.5},
{"matrix": [1, 12], "x": 18.5, "y": 1.5},
{"matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5},
{"matrix": [2, 1], "x": 1.5, "y": 2.5},
{"matrix": [2, 2], "x": 2.5, "y": 2.5},
{"matrix": [2, 3], "x": 3.5, "y": 2.5},
{"matrix": [2, 4], "x": 4.5, "y": 2.5},
{"matrix": [6, 8], "x": 5.5, "y": 2.5},
{"matrix": [6, 9], "x": 6.5, "y": 2.5},
{"matrix": [6, 10], "x": 7.5, "y": 2.5},
{"matrix": [6, 11], "x": 8.5, "y": 2.5},
{"matrix": [2, 5], "x": 9.5, "y": 2.5},
{"matrix": [2, 6], "x": 10.5, "y": 2.5},
{"matrix": [2, 7], "x": 11.5, "y": 2.5},
{"matrix": [2, 8], "x": 12.5, "y": 2.5},
{"matrix": [7, 3], "x": 13.5, "y": 2.5, "w": 1.5},
{"matrix": [2, 9], "x": 15.5, "y": 2.5},
{"matrix": [2, 10], "x": 16.5, "y": 2.5},
{"matrix": [2, 11], "x": 17.5, "y": 2.5},
{"matrix": [2, 12], "x": 18.5, "y": 2.5, "h": 2},
{"matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75},
{"matrix": [3, 1], "x": 1.75, "y": 3.5},
{"matrix": [3, 2], "x": 2.75, "y": 3.5},
{"matrix": [3, 3], "x": 3.75, "y": 3.5},
{"matrix": [3, 4], "x": 4.75, "y": 3.5},
{"matrix": [6, 12], "x": 5.75, "y": 3.5},
{"matrix": [7, 5], "x": 6.75, "y": 3.5},
{"matrix": [7, 6], "x": 7.75, "y": 3.5},
{"matrix": [7, 7], "x": 8.75, "y": 3.5},
{"matrix": [3, 5], "x": 9.75, "y": 3.5},
{"matrix": [3, 6], "x": 10.75, "y": 3.5},
{"matrix": [3, 7], "x": 11.75, "y": 3.5},
{"matrix": [3, 8], "x": 12.75, "y": 3.5, "w": 2.25},
{"matrix": [3, 9], "x": 15.5, "y": 3.5},
{"matrix": [3, 10], "x": 16.5, "y": 3.5},
{"matrix": [3, 11], "x": 17.5, "y": 3.5},
{"matrix": [4, 0], "x": 0, "y": 4.5, "w": 2.25},
{"matrix": [4, 2], "x": 2.25, "y": 4.5},
{"matrix": [4, 3], "x": 3.25, "y": 4.5},
{"matrix": [4, 4], "x": 4.25, "y": 4.5},
{"matrix": [7, 8], "x": 5.25, "y": 4.5},
{"matrix": [7, 9], "x": 6.25, "y": 4.5},
{"matrix": [7, 10], "x": 7.25, "y": 4.5},
{"matrix": [7, 11], "x": 8.25, "y": 4.5},
{"matrix": [4, 5], "x": 9.25, "y": 4.5},
{"matrix": [4, 6], "x": 10.25, "y": 4.5},
{"matrix": [4, 7], "x": 11.25, "y": 4.5},
{"matrix": [4, 8], "x": 12.25, "y": 4.5, "w": 1.75},
{"matrix": [7, 4], "x": 14.25, "y": 4.75},
{"matrix": [4, 9], "x": 15.5, "y": 4.5},
{"matrix": [4, 10], "x": 16.5, "y": 4.5},
{"matrix": [4, 11], "x": 17.5, "y": 4.5},
{"matrix": [4, 12], "x": 18.5, "y": 4.5, "h": 2},
{"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5},
{"matrix": [5, 2], "x": 1.5, "y": 5.5, "w": 1.5},
{"matrix": [5, 9], "x": 3, "y": 5.5, "w": 7},
{"matrix": [5, 5], "x": 10, "y": 5.5, "w": 1.5},
{"matrix": [5, 7], "x": 11.5, "y": 5.5, "w": 1.5},
{"matrix": [5, 8], "x": 13.25, "y": 5.75},
{"matrix": [5, 3], "x": 14.25, "y": 5.75},
{"matrix": [5, 4], "x": 15.25, "y": 5.75},
{"matrix": [5, 10], "x": 16.5, "y": 5.5},
{"matrix": [5, 11], "x": 17.5, "y": 5.5}
]
},
"LAYOUT_ansi_wkl_split_bs": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1.25, "y": 0},
{"matrix": [0, 2], "x": 2.25, "y": 0},
{"matrix": [0, 3], "x": 3.25, "y": 0},
{"matrix": [0, 4], "x": 4.25, "y": 0},
{"matrix": [6, 0], "x": 5.5, "y": 0},
{"matrix": [6, 1], "x": 6.5, "y": 0},
{"matrix": [6, 2], "x": 7.5, "y": 0},
{"matrix": [6, 3], "x": 8.5, "y": 0},
{"matrix": [0, 5], "x": 9.75, "y": 0},
{"matrix": [0, 6], "x": 10.75, "y": 0},
{"matrix": [0, 7], "x": 11.75, "y": 0},
{"matrix": [0, 8], "x": 12.75, "y": 0},
{"matrix": [7, 2], "x": 14, "y": 0},
{"matrix": [0, 9], "x": 15.5, "y": 0},
{"matrix": [0, 10], "x": 16.5, "y": 0},
{"matrix": [0, 11], "x": 17.5, "y": 0},
{"matrix": [0, 12], "x": 18.5, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1.5},
{"matrix": [1, 1], "x": 1, "y": 1.5},
{"matrix": [1, 2], "x": 2, "y": 1.5},
{"matrix": [1, 3], "x": 3, "y": 1.5},
{"matrix": [1, 4], "x": 4, "y": 1.5},
{"matrix": [6, 4], "x": 5, "y": 1.5},
{"matrix": [6, 5], "x": 6, "y": 1.5},
{"matrix": [6, 6], "x": 7, "y": 1.5},
{"matrix": [6, 7], "x": 8, "y": 1.5},
{"matrix": [1, 5], "x": 9, "y": 1.5},
{"matrix": [1, 6], "x": 10, "y": 1.5},
{"matrix": [1, 7], "x": 11, "y": 1.5},
{"matrix": [1, 8], "x": 12, "y": 1.5},
{"matrix": [7, 0], "x": 13, "y": 1.5},
{"matrix": [7, 1], "x": 14, "y": 1.5},
{"matrix": [1, 9], "x": 15.5, "y": 1.5},
{"matrix": [1, 10], "x": 16.5, "y": 1.5},
@ -150,13 +634,11 @@
{"matrix": [4, 11], "x": 17.5, "y": 4.5},
{"matrix": [4, 12], "x": 18.5, "y": 4.5, "h": 2},
{"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.25},
{"matrix": [5, 1], "x": 1.25, "y": 5.5},
{"matrix": [5, 2], "x": 2.25, "y": 5.5, "w": 1.25},
{"matrix": [5, 9], "x": 3.5, "y": 5.5, "w": 6.25},
{"matrix": [5, 5], "x": 9.75, "y": 5.5},
{"matrix": [5, 6], "x": 10.75, "y": 5.5},
{"matrix": [5, 7], "x": 11.75, "y": 5.5, "w": 1.25},
{"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5},
{"matrix": [5, 2], "x": 1.5, "y": 5.5, "w": 1.5},
{"matrix": [5, 9], "x": 3, "y": 5.5, "w": 7},
{"matrix": [5, 5], "x": 10, "y": 5.5, "w": 1.5},
{"matrix": [5, 7], "x": 11.5, "y": 5.5, "w": 1.5},
{"matrix": [5, 8], "x": 13.25, "y": 5.75},
{"matrix": [5, 3], "x": 14.25, "y": 5.75},
@ -286,7 +768,7 @@
{"matrix": [5, 11], "x": 17.5, "y": 5.5}
]
},
"LAYOUT_all": {
"LAYOUT_iso_split_bs": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
@ -346,12 +828,10 @@
{"matrix": [2, 6], "x": 10.5, "y": 2.5},
{"matrix": [2, 7], "x": 11.5, "y": 2.5},
{"matrix": [2, 8], "x": 12.5, "y": 2.5},
{"matrix": [7, 3], "x": 13.5, "y": 2.5, "w": 1.5},
{"matrix": [2, 9], "x": 15.5, "y": 2.5},
{"matrix": [2, 10], "x": 16.5, "y": 2.5},
{"matrix": [2, 11], "x": 17.5, "y": 2.5},
{"matrix": [2, 12], "x": 18.5, "y": 2.5},
{"matrix": [2, 12], "x": 18.5, "y": 2.5, "h": 2},
{"matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75},
{"matrix": [3, 1], "x": 1.75, "y": 3.5},
@ -365,12 +845,12 @@
{"matrix": [3, 5], "x": 9.75, "y": 3.5},
{"matrix": [3, 6], "x": 10.75, "y": 3.5},
{"matrix": [3, 7], "x": 11.75, "y": 3.5},
{"matrix": [3, 8], "x": 12.75, "y": 3.5, "w": 2.25},
{"matrix": [7, 3], "x": 12.75, "y": 3.5},
{"matrix": [3, 8], "x": 13.75, "y": 2.5, "w": 1.25, "h": 2},
{"matrix": [3, 9], "x": 15.5, "y": 3.5},
{"matrix": [3, 10], "x": 16.5, "y": 3.5},
{"matrix": [3, 11], "x": 17.5, "y": 3.5},
{"matrix": [3, 12], "x": 18.5, "y": 3.5},
{"matrix": [4, 0], "x": 0, "y": 4.5, "w": 1.25},
{"matrix": [4, 1], "x": 1.25, "y": 4.5},
@ -391,7 +871,7 @@
{"matrix": [4, 9], "x": 15.5, "y": 4.5},
{"matrix": [4, 10], "x": 16.5, "y": 4.5},
{"matrix": [4, 11], "x": 17.5, "y": 4.5},
{"matrix": [4, 12], "x": 18.5, "y": 4.5},
{"matrix": [4, 12], "x": 18.5, "y": 4.5, "h": 2},
{"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.25},
{"matrix": [5, 1], "x": 1.25, "y": 5.5},
@ -406,8 +886,244 @@
{"matrix": [5, 4], "x": 15.25, "y": 5.75},
{"matrix": [5, 10], "x": 16.5, "y": 5.5},
{"matrix": [5, 11], "x": 17.5, "y": 5.5},
{"matrix": [5, 12], "x": 18.5, "y": 5.5}
{"matrix": [5, 11], "x": 17.5, "y": 5.5}
]
},
"LAYOUT_iso_wkl": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1.25, "y": 0},
{"matrix": [0, 2], "x": 2.25, "y": 0},
{"matrix": [0, 3], "x": 3.25, "y": 0},
{"matrix": [0, 4], "x": 4.25, "y": 0},
{"matrix": [6, 0], "x": 5.5, "y": 0},
{"matrix": [6, 1], "x": 6.5, "y": 0},
{"matrix": [6, 2], "x": 7.5, "y": 0},
{"matrix": [6, 3], "x": 8.5, "y": 0},
{"matrix": [0, 5], "x": 9.75, "y": 0},
{"matrix": [0, 6], "x": 10.75, "y": 0},
{"matrix": [0, 7], "x": 11.75, "y": 0},
{"matrix": [0, 8], "x": 12.75, "y": 0},
{"matrix": [7, 2], "x": 14, "y": 0},
{"matrix": [0, 9], "x": 15.5, "y": 0},
{"matrix": [0, 10], "x": 16.5, "y": 0},
{"matrix": [0, 11], "x": 17.5, "y": 0},
{"matrix": [0, 12], "x": 18.5, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1.5},
{"matrix": [1, 1], "x": 1, "y": 1.5},
{"matrix": [1, 2], "x": 2, "y": 1.5},
{"matrix": [1, 3], "x": 3, "y": 1.5},
{"matrix": [1, 4], "x": 4, "y": 1.5},
{"matrix": [6, 4], "x": 5, "y": 1.5},
{"matrix": [6, 5], "x": 6, "y": 1.5},
{"matrix": [6, 6], "x": 7, "y": 1.5},
{"matrix": [6, 7], "x": 8, "y": 1.5},
{"matrix": [1, 5], "x": 9, "y": 1.5},
{"matrix": [1, 6], "x": 10, "y": 1.5},
{"matrix": [1, 7], "x": 11, "y": 1.5},
{"matrix": [1, 8], "x": 12, "y": 1.5},
{"matrix": [7, 1], "x": 13, "y": 1.5, "w": 2},
{"matrix": [1, 9], "x": 15.5, "y": 1.5},
{"matrix": [1, 10], "x": 16.5, "y": 1.5},
{"matrix": [1, 11], "x": 17.5, "y": 1.5},
{"matrix": [1, 12], "x": 18.5, "y": 1.5},
{"matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5},
{"matrix": [2, 1], "x": 1.5, "y": 2.5},
{"matrix": [2, 2], "x": 2.5, "y": 2.5},
{"matrix": [2, 3], "x": 3.5, "y": 2.5},
{"matrix": [2, 4], "x": 4.5, "y": 2.5},
{"matrix": [6, 8], "x": 5.5, "y": 2.5},
{"matrix": [6, 9], "x": 6.5, "y": 2.5},
{"matrix": [6, 10], "x": 7.5, "y": 2.5},
{"matrix": [6, 11], "x": 8.5, "y": 2.5},
{"matrix": [2, 5], "x": 9.5, "y": 2.5},
{"matrix": [2, 6], "x": 10.5, "y": 2.5},
{"matrix": [2, 7], "x": 11.5, "y": 2.5},
{"matrix": [2, 8], "x": 12.5, "y": 2.5},
{"matrix": [2, 9], "x": 15.5, "y": 2.5},
{"matrix": [2, 10], "x": 16.5, "y": 2.5},
{"matrix": [2, 11], "x": 17.5, "y": 2.5},
{"matrix": [2, 12], "x": 18.5, "y": 2.5, "h": 2},
{"matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75},
{"matrix": [3, 1], "x": 1.75, "y": 3.5},
{"matrix": [3, 2], "x": 2.75, "y": 3.5},
{"matrix": [3, 3], "x": 3.75, "y": 3.5},
{"matrix": [3, 4], "x": 4.75, "y": 3.5},
{"matrix": [6, 12], "x": 5.75, "y": 3.5},
{"matrix": [7, 5], "x": 6.75, "y": 3.5},
{"matrix": [7, 6], "x": 7.75, "y": 3.5},
{"matrix": [7, 7], "x": 8.75, "y": 3.5},
{"matrix": [3, 5], "x": 9.75, "y": 3.5},
{"matrix": [3, 6], "x": 10.75, "y": 3.5},
{"matrix": [3, 7], "x": 11.75, "y": 3.5},
{"matrix": [7, 3], "x": 12.75, "y": 3.5},
{"matrix": [3, 8], "x": 13.75, "y": 2.5, "w": 1.25, "h": 2},
{"matrix": [3, 9], "x": 15.5, "y": 3.5},
{"matrix": [3, 10], "x": 16.5, "y": 3.5},
{"matrix": [3, 11], "x": 17.5, "y": 3.5},
{"matrix": [4, 0], "x": 0, "y": 4.5, "w": 1.25},
{"matrix": [4, 1], "x": 1.25, "y": 4.5},
{"matrix": [4, 2], "x": 2.25, "y": 4.5},
{"matrix": [4, 3], "x": 3.25, "y": 4.5},
{"matrix": [4, 4], "x": 4.25, "y": 4.5},
{"matrix": [7, 8], "x": 5.25, "y": 4.5},
{"matrix": [7, 9], "x": 6.25, "y": 4.5},
{"matrix": [7, 10], "x": 7.25, "y": 4.5},
{"matrix": [7, 11], "x": 8.25, "y": 4.5},
{"matrix": [4, 5], "x": 9.25, "y": 4.5},
{"matrix": [4, 6], "x": 10.25, "y": 4.5},
{"matrix": [4, 7], "x": 11.25, "y": 4.5},
{"matrix": [4, 8], "x": 12.25, "y": 4.5, "w": 1.75},
{"matrix": [7, 4], "x": 14.25, "y": 4.75},
{"matrix": [4, 9], "x": 15.5, "y": 4.5},
{"matrix": [4, 10], "x": 16.5, "y": 4.5},
{"matrix": [4, 11], "x": 17.5, "y": 4.5},
{"matrix": [4, 12], "x": 18.5, "y": 4.5, "h": 2},
{"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5},
{"matrix": [5, 2], "x": 1.5, "y": 5.5, "w": 1.5},
{"matrix": [5, 9], "x": 3, "y": 5.5, "w": 7},
{"matrix": [5, 5], "x": 10, "y": 5.5, "w": 1.5},
{"matrix": [5, 7], "x": 11.5, "y": 5.5, "w": 1.5},
{"matrix": [5, 8], "x": 13.25, "y": 5.75},
{"matrix": [5, 3], "x": 14.25, "y": 5.75},
{"matrix": [5, 4], "x": 15.25, "y": 5.75},
{"matrix": [5, 10], "x": 16.5, "y": 5.5},
{"matrix": [5, 11], "x": 17.5, "y": 5.5}
]
},
"LAYOUT_iso_wkl_split_bs": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1.25, "y": 0},
{"matrix": [0, 2], "x": 2.25, "y": 0},
{"matrix": [0, 3], "x": 3.25, "y": 0},
{"matrix": [0, 4], "x": 4.25, "y": 0},
{"matrix": [6, 0], "x": 5.5, "y": 0},
{"matrix": [6, 1], "x": 6.5, "y": 0},
{"matrix": [6, 2], "x": 7.5, "y": 0},
{"matrix": [6, 3], "x": 8.5, "y": 0},
{"matrix": [0, 5], "x": 9.75, "y": 0},
{"matrix": [0, 6], "x": 10.75, "y": 0},
{"matrix": [0, 7], "x": 11.75, "y": 0},
{"matrix": [0, 8], "x": 12.75, "y": 0},
{"matrix": [7, 2], "x": 14, "y": 0},
{"matrix": [0, 9], "x": 15.5, "y": 0},
{"matrix": [0, 10], "x": 16.5, "y": 0},
{"matrix": [0, 11], "x": 17.5, "y": 0},
{"matrix": [0, 12], "x": 18.5, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1.5},
{"matrix": [1, 1], "x": 1, "y": 1.5},
{"matrix": [1, 2], "x": 2, "y": 1.5},
{"matrix": [1, 3], "x": 3, "y": 1.5},
{"matrix": [1, 4], "x": 4, "y": 1.5},
{"matrix": [6, 4], "x": 5, "y": 1.5},
{"matrix": [6, 5], "x": 6, "y": 1.5},
{"matrix": [6, 6], "x": 7, "y": 1.5},
{"matrix": [6, 7], "x": 8, "y": 1.5},
{"matrix": [1, 5], "x": 9, "y": 1.5},
{"matrix": [1, 6], "x": 10, "y": 1.5},
{"matrix": [1, 7], "x": 11, "y": 1.5},
{"matrix": [1, 8], "x": 12, "y": 1.5},
{"matrix": [7, 0], "x": 13, "y": 1.5},
{"matrix": [7, 1], "x": 14, "y": 1.5},
{"matrix": [1, 9], "x": 15.5, "y": 1.5},
{"matrix": [1, 10], "x": 16.5, "y": 1.5},
{"matrix": [1, 11], "x": 17.5, "y": 1.5},
{"matrix": [1, 12], "x": 18.5, "y": 1.5},
{"matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5},
{"matrix": [2, 1], "x": 1.5, "y": 2.5},
{"matrix": [2, 2], "x": 2.5, "y": 2.5},
{"matrix": [2, 3], "x": 3.5, "y": 2.5},
{"matrix": [2, 4], "x": 4.5, "y": 2.5},
{"matrix": [6, 8], "x": 5.5, "y": 2.5},
{"matrix": [6, 9], "x": 6.5, "y": 2.5},
{"matrix": [6, 10], "x": 7.5, "y": 2.5},
{"matrix": [6, 11], "x": 8.5, "y": 2.5},
{"matrix": [2, 5], "x": 9.5, "y": 2.5},
{"matrix": [2, 6], "x": 10.5, "y": 2.5},
{"matrix": [2, 7], "x": 11.5, "y": 2.5},
{"matrix": [2, 8], "x": 12.5, "y": 2.5},
{"matrix": [2, 9], "x": 15.5, "y": 2.5},
{"matrix": [2, 10], "x": 16.5, "y": 2.5},
{"matrix": [2, 11], "x": 17.5, "y": 2.5},
{"matrix": [2, 12], "x": 18.5, "y": 2.5, "h": 2},
{"matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75},
{"matrix": [3, 1], "x": 1.75, "y": 3.5},
{"matrix": [3, 2], "x": 2.75, "y": 3.5},
{"matrix": [3, 3], "x": 3.75, "y": 3.5},
{"matrix": [3, 4], "x": 4.75, "y": 3.5},
{"matrix": [6, 12], "x": 5.75, "y": 3.5},
{"matrix": [7, 5], "x": 6.75, "y": 3.5},
{"matrix": [7, 6], "x": 7.75, "y": 3.5},
{"matrix": [7, 7], "x": 8.75, "y": 3.5},
{"matrix": [3, 5], "x": 9.75, "y": 3.5},
{"matrix": [3, 6], "x": 10.75, "y": 3.5},
{"matrix": [3, 7], "x": 11.75, "y": 3.5},
{"matrix": [7, 3], "x": 12.75, "y": 3.5},
{"matrix": [3, 8], "x": 13.75, "y": 2.5, "w": 1.25, "h": 2},
{"matrix": [3, 9], "x": 15.5, "y": 3.5},
{"matrix": [3, 10], "x": 16.5, "y": 3.5},
{"matrix": [3, 11], "x": 17.5, "y": 3.5},
{"matrix": [4, 0], "x": 0, "y": 4.5, "w": 1.25},
{"matrix": [4, 1], "x": 1.25, "y": 4.5},
{"matrix": [4, 2], "x": 2.25, "y": 4.5},
{"matrix": [4, 3], "x": 3.25, "y": 4.5},
{"matrix": [4, 4], "x": 4.25, "y": 4.5},
{"matrix": [7, 8], "x": 5.25, "y": 4.5},
{"matrix": [7, 9], "x": 6.25, "y": 4.5},
{"matrix": [7, 10], "x": 7.25, "y": 4.5},
{"matrix": [7, 11], "x": 8.25, "y": 4.5},
{"matrix": [4, 5], "x": 9.25, "y": 4.5},
{"matrix": [4, 6], "x": 10.25, "y": 4.5},
{"matrix": [4, 7], "x": 11.25, "y": 4.5},
{"matrix": [4, 8], "x": 12.25, "y": 4.5, "w": 1.75},
{"matrix": [7, 4], "x": 14.25, "y": 4.75},
{"matrix": [4, 9], "x": 15.5, "y": 4.5},
{"matrix": [4, 10], "x": 16.5, "y": 4.5},
{"matrix": [4, 11], "x": 17.5, "y": 4.5},
{"matrix": [4, 12], "x": 18.5, "y": 4.5, "h": 2},
{"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.5},
{"matrix": [5, 2], "x": 1.5, "y": 5.5, "w": 1.5},
{"matrix": [5, 9], "x": 3, "y": 5.5, "w": 7},
{"matrix": [5, 5], "x": 10, "y": 5.5, "w": 1.5},
{"matrix": [5, 7], "x": 11.5, "y": 5.5, "w": 1.5},
{"matrix": [5, 8], "x": 13.25, "y": 5.75},
{"matrix": [5, 3], "x": 14.25, "y": 5.75},
{"matrix": [5, 4], "x": 15.25, "y": 5.75},
{"matrix": [5, 10], "x": 16.5, "y": 5.5},
{"matrix": [5, 11], "x": 17.5, "y": 5.5}
]
}
}


+ 28
- 0
keyboards/kbdfans/kbd19x/matrix_diagram.md View File

@ -0,0 +1,28 @@
# Matrix Diagram for KBDfans KBD19x
```
┌───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┐ ┌───┬───┬───┬───┐
│00 ││01 │02 │03 │04 ││60 │61 │62 │63 ││05 │06 │07 │08 ││72 │ │09 │0A │0B │0C │
└───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┘ └───┴───┴───┴───┘
┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───────┐
│10 │11 │12 │13 │14 │64 │65 │66 │67 │15 │16 │17 │18 │70 │71 │ │19 │1A │1B │1C │ │71 │ 2u Backspace
├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ ├───┼───┼───┼───┤ └─┬─────┤ ┌───┐
│20 │21 │22 │23 │24 │68 │69 │6A │6B │25 │26 │27 │28 │73 │ │29 │2A │2B │2C │ │ │ │ │
├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ├───┼───┼───┼───┤ ┌──┴┐38 │ ISO Enter │2C │ 2u Numpad Plus
│30 │31 │32 │33 │34 │6C │75 │76 │77 │35 │36 │37 │38 │ │39 │3A │3B │3C │ │73 │ │ │ │
├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┘ ├───┼───┼───┼───┤ └───┴────┘ ├───┤
│40 │41 │42 │43 │44 │78 │79 │7A │7B │45 │46 │47 │48 │┌───┐│49 │4A │4B │4C │ │ │
├────┼───┼───┴┬──┴───┴───┴───┴───┴───┴─┬─┴─┬─┴─┬─┴──┬───┘│74 │└───┼───┼───┼───┤ │4C │ 2u Numpad Enter
│50 │51 │52 │59 │55 │56 │57 │┌───┼───┼───┐│5A │5B │5C │ │ │
└────┴───┴────┴────────────────────────┴───┴───┴────┘│58 │53 │54 │└───┴───┴───┘ └───┘
└───┴───┴───┘
┌────────┐
│40 │ 2.25u LShift
└────────┘
┌────┬───┬────┬───────────────────────┬────┬───┬────┐
│50 │51 │52 │59 │55 │56 │57 │ 6u Space
└────┴───┴────┴───────────────────────┴────┴───┴────┘
┌─────┬─────┬───────────────────────────┬─────┬─────┐
│50 │52 │59 │55 │57 │ WKL (7u Space)
└─────┴─────┴───────────────────────────┴─────┴─────┘
```

+ 67
- 25
quantum/encoder.c View File

@ -15,34 +15,39 @@ __attribute__((weak)) bool should_process_encoder(void) {
}
static encoder_events_t encoder_events;
static bool signal_queue_drain = false;
void encoder_init(void) {
memset(&encoder_events, 0, sizeof(encoder_events));
encoder_driver_init();
}
static bool encoder_handle_queue(void) {
bool changed = false;
while (encoder_events.tail != encoder_events.head) {
encoder_event_t event = encoder_events.queue[encoder_events.tail];
encoder_events.tail = (encoder_events.tail + 1) % MAX_QUEUED_ENCODER_EVENTS;
static void encoder_queue_drain(void) {
encoder_events.tail = encoder_events.head;
encoder_events.dequeued = encoder_events.enqueued;
}
static bool encoder_handle_queue(void) {
bool changed = false;
uint8_t index;
bool clockwise;
while (encoder_dequeue_event(&index, &clockwise)) {
#ifdef ENCODER_MAP_ENABLE
// The delays below cater for Windows and its wonderful requirements.
action_exec(event.clockwise ? MAKE_ENCODER_CW_EVENT(event.index, true) : MAKE_ENCODER_CCW_EVENT(event.index, true));
action_exec(clockwise ? MAKE_ENCODER_CW_EVENT(index, true) : MAKE_ENCODER_CCW_EVENT(index, true));
# if ENCODER_MAP_KEY_DELAY > 0
wait_ms(ENCODER_MAP_KEY_DELAY);
# endif // ENCODER_MAP_KEY_DELAY > 0
action_exec(event.clockwise ? MAKE_ENCODER_CW_EVENT(event.index, false) : MAKE_ENCODER_CCW_EVENT(event.index, false));
action_exec(clockwise ? MAKE_ENCODER_CW_EVENT(index, false) : MAKE_ENCODER_CCW_EVENT(index, false));
# if ENCODER_MAP_KEY_DELAY > 0
wait_ms(ENCODER_MAP_KEY_DELAY);
# endif // ENCODER_MAP_KEY_DELAY > 0
#else // ENCODER_MAP_ENABLE
encoder_update_kb(event.index, event.clockwise ? true : false);
encoder_update_kb(index, clockwise);
#endif // ENCODER_MAP_ENABLE
@ -61,6 +66,11 @@ bool encoder_task(void) {
}
#endif // SPLIT_KEYBOARD
if (signal_queue_drain) {
signal_queue_drain = false;
encoder_queue_drain();
}
// Let the encoder driver produce events
encoder_driver_task();
@ -72,39 +82,71 @@ bool encoder_task(void) {
return changed;
}
bool encoder_queue_event(uint8_t index, bool clockwise) {
bool encoder_queue_full_advanced(encoder_events_t *events) {
return events->head == (events->tail - 1) % MAX_QUEUED_ENCODER_EVENTS;
}
bool encoder_queue_full(void) {
return encoder_queue_full_advanced(&encoder_events);
}
bool encoder_queue_empty_advanced(encoder_events_t *events) {
return events->head == events->tail;
}
bool encoder_queue_empty(void) {
return encoder_queue_empty_advanced(&encoder_events);
}
bool encoder_queue_event_advanced(encoder_events_t *events, uint8_t index, bool clockwise) {
// Drop out if we're full
if ((encoder_events.head + 1) % MAX_QUEUED_ENCODER_EVENTS == encoder_events.tail) {
if (encoder_queue_full_advanced(events)) {
return false;
}
// Append the event
encoder_event_t new_event = {.index = index, .clockwise = clockwise ? 1 : 0};
encoder_events.queue[encoder_events.head] = new_event;
encoder_event_t new_event = {.index = index, .clockwise = clockwise ? 1 : 0};
events->queue[events->head] = new_event;
// Increment the head index
encoder_events.head = (encoder_events.head + 1) % MAX_QUEUED_ENCODER_EVENTS;
events->head = (events->head + 1) % MAX_QUEUED_ENCODER_EVENTS;
events->enqueued++;
return true;
}
void encoder_retrieve_events(encoder_events_t *events) {
memcpy(events, &encoder_events, sizeof(encoder_events));
bool encoder_dequeue_event_advanced(encoder_events_t *events, uint8_t *index, bool *clockwise) {
if (encoder_queue_empty_advanced(events)) {
return false;
}
// Retrieve the event
encoder_event_t event = events->queue[events->tail];
*index = event.index;
*clockwise = event.clockwise;
// Increment the tail index
events->tail = (events->tail + 1) % MAX_QUEUED_ENCODER_EVENTS;
events->dequeued++;
return true;
}
#ifdef SPLIT_KEYBOARD
void encoder_set_tail_index(uint8_t tail_index) {
encoder_events.tail = tail_index;
bool encoder_queue_event(uint8_t index, bool clockwise) {
return encoder_queue_event_advanced(&encoder_events, index, clockwise);
}
void encoder_handle_slave_events(encoder_events_t *events) {
while (events->tail != events->head) {
encoder_event_t event = events->queue[events->tail];
events->tail = (events->tail + 1) % MAX_QUEUED_ENCODER_EVENTS;
encoder_queue_event(event.index, event.clockwise ? true : false);
}
bool encoder_dequeue_event(uint8_t *index, bool *clockwise) {
return encoder_dequeue_event_advanced(&encoder_events, index, clockwise);
}
void encoder_retrieve_events(encoder_events_t *events) {
memcpy(events, &encoder_events, sizeof(encoder_events));
}
void encoder_signal_queue_drain(void) {
signal_queue_drain = true;
}
#endif // SPLIT_KEYBOARD
__attribute__((weak)) bool encoder_update_user(uint8_t index, bool clockwise) {
return true;


+ 9
- 4
quantum/encoder.h View File

@ -29,6 +29,7 @@ __attribute__((weak)) bool should_process_encoder(void);
void encoder_init(void);
bool encoder_task(void);
bool encoder_queue_event(uint8_t index, bool clockwise);
bool encoder_dequeue_event(uint8_t *index, bool *clockwise);
bool encoder_update_kb(uint8_t index, bool clockwise);
bool encoder_update_user(uint8_t index, bool clockwise);
@ -82,6 +83,8 @@ typedef struct encoder_event_t {
} encoder_event_t;
typedef struct encoder_events_t {
uint8_t enqueued;
uint8_t dequeued;
uint8_t head;
uint8_t tail;
encoder_event_t queue[MAX_QUEUED_ENCODER_EVENTS];
@ -90,10 +93,12 @@ typedef struct encoder_events_t {
// Get the current queued events
void encoder_retrieve_events(encoder_events_t *events);
# ifdef SPLIT_KEYBOARD
void encoder_set_tail_index(uint8_t tail_index);
void encoder_handle_slave_events(encoder_events_t *events);
# endif // SPLIT_KEYBOARD
// Encoder event queue management
bool encoder_queue_event_advanced(encoder_events_t *events, uint8_t index, bool clockwise);
bool encoder_dequeue_event_advanced(encoder_events_t *events, uint8_t *index, bool *clockwise);
// Reset the queue to be empty
void encoder_signal_queue_drain(void);
# ifdef ENCODER_MAP_ENABLE
# define NUM_DIRECTIONS 2


+ 1
- 1
quantum/split_common/transaction_id_define.h View File

@ -31,7 +31,7 @@ enum serial_transaction_id {
#ifdef ENCODER_ENABLE
GET_ENCODERS_CHECKSUM,
GET_ENCODERS_DATA,
PUT_ENCODER_TAIL,
CMD_ENCODER_DRAIN,
#endif // ENCODER_ENABLE
#ifndef DISABLE_SYNC_TIMER


+ 24
- 8
quantum/split_common/transactions.c View File

@ -14,6 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdint.h>
#include <string.h>
#include <stddef.h>
@ -80,8 +81,12 @@
{ 0, 0, sizeof_member(split_shared_memory_t, member), offsetof(split_shared_memory_t, member), cb }
#define trans_target2initiator_initializer(member) trans_target2initiator_initializer_cb(member, NULL)
#define trans_initiator2target_cb(cb) \
{ 0, 0, 0, 0, cb }
#define transport_write(id, data, length) transport_execute_transaction(id, data, length, NULL, 0)
#define transport_read(id, data, length) transport_execute_transaction(id, NULL, 0, data, length)
#define transport_exec(id) transport_execute_transaction(id, NULL, 0, NULL, 0)
#if defined(SPLIT_TRANSACTION_IDS_KB) || defined(SPLIT_TRANSACTION_IDS_USER)
// Forward-declare the RPC callback handlers
@ -234,14 +239,26 @@ static void master_matrix_handlers_slave(matrix_row_t master_matrix[], matrix_ro
#ifdef ENCODER_ENABLE
static bool encoder_handlers_master(matrix_row_t master_matrix[], matrix_row_t slave_matrix[]) {
static uint32_t last_update = 0;
static uint32_t last_update = 0;
static uint8_t last_checksum = 0;
encoder_events_t temp_events;
bool okay = read_if_checksum_mismatch(GET_ENCODERS_CHECKSUM, GET_ENCODERS_DATA, &last_update, &temp_events, &split_shmem->encoders.events, sizeof(temp_events));
if (okay) {
encoder_handle_slave_events(&split_shmem->encoders.events);
transport_write(PUT_ENCODER_TAIL, &split_shmem->encoders.events.tail, sizeof(split_shmem->encoders.events.tail));
split_shmem->encoders.checksum = crc8(&split_shmem->encoders.events, sizeof(split_shmem->encoders.events));
if (last_checksum != split_shmem->encoders.checksum) {
bool actioned = false;
uint8_t index;
bool clockwise;
while (okay && encoder_dequeue_event_advanced(&split_shmem->encoders.events, &index, &clockwise)) {
okay &= encoder_queue_event(index, clockwise);
actioned = true;
}
if (actioned) {
okay &= transport_exec(CMD_ENCODER_DRAIN);
}
last_checksum = split_shmem->encoders.checksum;
}
}
return okay;
}
@ -253,9 +270,8 @@ static void encoder_handlers_slave(matrix_row_t master_matrix[], matrix_row_t sl
split_shmem->encoders.checksum = crc8(&split_shmem->encoders.events, sizeof(split_shmem->encoders.events));
}
static void encoder_handlers_slave_reset(uint8_t initiator2target_buffer_size, const void *initiator2target_buffer, uint8_t target2initiator_buffer_size, void *target2initiator_buffer) {
uint8_t tail_index = *(uint8_t *)initiator2target_buffer;
encoder_set_tail_index(tail_index);
static void encoder_handlers_slave_drain(uint8_t initiator2target_buffer_size, const void *initiator2target_buffer, uint8_t target2initiator_buffer_size, void *target2initiator_buffer) {
encoder_signal_queue_drain();
}
// clang-format off
@ -264,7 +280,7 @@ static void encoder_handlers_slave_reset(uint8_t initiator2target_buffer_size, c
# define TRANSACTIONS_ENCODERS_REGISTRATIONS \
[GET_ENCODERS_CHECKSUM] = trans_target2initiator_initializer(encoders.checksum), \
[GET_ENCODERS_DATA] = trans_target2initiator_initializer(encoders.events), \
[PUT_ENCODER_TAIL] = trans_initiator2target_initializer_cb(encoders.events.tail, encoder_handlers_slave_reset),
[CMD_ENCODER_DRAIN] = trans_initiator2target_cb(encoder_handlers_slave_drain),
// clang-format on
#else // ENCODER_ENABLE


Loading…
Cancel
Save