You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
2.5 KiB

  1. {
  2. "keyboard_name": "KB30-01",
  3. "manufacturer": "DOIO",
  4. "url": "",
  5. "maintainer": "Alice",
  6. "usb": {
  7. "vid": "0xD010",
  8. "pid": "0x3001",
  9. "device_version": "0.0.1"
  10. },
  11. "matrix_pins": {
  12. "cols": ["B14", "B13", "B12", "B0", "A7", "A9", "A8"],
  13. "rows": ["B3", "B4", "B9", "B8", "A5", "A6"]
  14. },
  15. "diode_direction": "COL2ROW",
  16. "encoder": {
  17. "rotary": [
  18. {"pin_a": "B5", "pin_b": "B6"},
  19. {"pin_a": "A1", "pin_b": "A2"},
  20. {"pin_a": "A3", "pin_b": "A4", "resolution": 2}
  21. ]
  22. },
  23. "processor": "STM32F103",
  24. "bootloader": "stm32duino",
  25. "layouts": {
  26. "LAYOUT": {
  27. "layout": [
  28. {"matrix": [0, 0], "x": 0, "y": 0},
  29. {"matrix": [0, 1], "x": 1, "y": 0},
  30. {"matrix": [0, 2], "x": 2, "y": 0},
  31. {"matrix": [0, 3], "x": 3, "y": 0},
  32. {"matrix": [0, 4], "x": 4.25, "y": 0},
  33. {"matrix": [0, 5], "x": 5.25, "y": 0},
  34. {"matrix": [0, 6], "x": 6.25, "y": 0},
  35. {"matrix": [1, 0], "x": 0, "y": 1},
  36. {"matrix": [1, 1], "x": 1, "y": 1},
  37. {"matrix": [1, 2], "x": 2, "y": 1},
  38. {"matrix": [1, 3], "x": 3, "y": 1, "h": 2},
  39. {"matrix": [1, 4], "x": 4.25, "y": 1},
  40. {"matrix": [1, 5], "x": 5.25, "y": 1},
  41. {"matrix": [1, 6], "x": 6.25, "y": 1},
  42. {"matrix": [2, 0], "x": 8.25, "y": 2},
  43. {"matrix": [2, 1], "x": 0, "y": 2},
  44. {"matrix": [2, 2], "x": 1, "y": 2},
  45. {"matrix": [2, 3], "x": 2, "y": 2},
  46. {"matrix": [2, 4], "x": 4.25, "y": 2},
  47. {"matrix": [2, 5], "x": 5.25, "y": 2},
  48. {"matrix": [3, 0], "x": 6.25, "y": 2},
  49. {"matrix": [3, 1], "x": 11, "y": 2},
  50. {"matrix": [3, 2], "x": 0, "y": 3},
  51. {"matrix": [3, 3], "x": 1, "y": 3},
  52. {"matrix": [3, 5], "x": 2, "y": 3},
  53. {"matrix": [4, 0], "x": 4.25, "y": 3, "h": 2},
  54. {"matrix": [4, 1], "x": 5.25, "y": 3},
  55. {"matrix": [4, 2], "x": 9, "y": 4},
  56. {"matrix": [4, 3], "x": 0, "y": 4, "w": 2},
  57. {"matrix": [4, 4], "x": 2, "y": 4},
  58. {"matrix": [5, 4], "x": 4.25, "y": 4},
  59. {"matrix": [5, 5], "x": 5.25, "y": 4},
  60. {"matrix": [5, 6], "x": 6.25, "y": 4}
  61. ]
  62. }
  63. }
  64. }