keyboard.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "manufacturer": "Catmunch",
  3. "keyboard_name": "MacroCat Keyboard",
  4. "maintainer": "Catmunch, starcatmeow",
  5. "bootloader": "atmel-dfu",
  6. "diode_direction": "COL2ROW",
  7. "features": {
  8. "bootmagic": true,
  9. "command": false,
  10. "console": false,
  11. "extrakey": true,
  12. "mousekey": true,
  13. "nkro": true,
  14. "encoder": true
  15. },
  16. "matrix_pins": {
  17. "cols": ["B5", "B6", "C6", "C7"],
  18. "rows": ["D4", "D6", "D7", "B4"]
  19. },
  20. "processor": "atmega32u4",
  21. "url": "https://github.com/catmunch/macrocat",
  22. "usb": {
  23. "device_version": "0.0.1",
  24. "pid": "0x8086",
  25. "vid": "0x2022"
  26. },
  27. "encoder": {
  28. "rotary": [
  29. {"pin_a": "D3", "pin_b": "D2"}
  30. ]
  31. },
  32. "layout_aliases": {
  33. "LAYOUT_numpad_4x4": "LAYOUT_ortho_4x4"
  34. },
  35. "layouts": {
  36. "LAYOUT_ortho_4x4": {
  37. "layout": [
  38. {"matrix": [0, 0], "x": 0, "y": 0},
  39. {"matrix": [0, 1], "x": 1, "y": 0},
  40. {"matrix": [0, 2], "x": 2, "y": 0},
  41. {"matrix": [0, 3], "x": 3, "y": 0},
  42. {"matrix": [1, 0], "x": 0, "y": 1},
  43. {"matrix": [1, 1], "x": 1, "y": 1},
  44. {"matrix": [1, 2], "x": 2, "y": 1},
  45. {"matrix": [1, 3], "x": 3, "y": 1},
  46. {"matrix": [2, 0], "x": 0, "y": 2},
  47. {"matrix": [2, 1], "x": 1, "y": 2},
  48. {"matrix": [2, 2], "x": 2, "y": 2},
  49. {"matrix": [2, 3], "x": 3, "y": 2},
  50. {"matrix": [3, 0], "x": 0, "y": 3},
  51. {"matrix": [3, 1], "x": 1, "y": 3},
  52. {"matrix": [3, 2], "x": 2, "y": 3},
  53. {"matrix": [3, 3], "x": 3, "y": 3}
  54. ]
  55. }
  56. }
  57. }