keyboard.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. {
  2. "manufacturer": "MagicForce",
  3. "keyboard_name": "MF17",
  4. "url": "https://github.com/gezhaoyou",
  5. "maintainer": "MagicForce",
  6. "diode_direction": "ROW2COL",
  7. "processor": "STM32F072",
  8. "bootloader": "stm32-dfu",
  9. "matrix_pins": {
  10. "cols": ["A6", "A5", "A4", "A3"],
  11. "rows": ["B10", "B2", "B1", "B0", "A7"]
  12. },
  13. "usb": {
  14. "device_version": "1.0.0",
  15. "vid": "0x3A54",
  16. "pid": "0x4F5D"
  17. },
  18. "host": {
  19. "default": {
  20. "nkro": true
  21. }
  22. },
  23. "features": {
  24. "bootmagic": true,
  25. "extrakey": true,
  26. "mousekey": true,
  27. "nkro": true,
  28. "rgb_matrix": true
  29. },
  30. "ws2812": {
  31. "pin": "A2"
  32. },
  33. "rgb_matrix": {
  34. "animations": {
  35. "alphas_mods": true,
  36. "gradient_up_down": true,
  37. "gradient_left_right": true,
  38. "breathing": true,
  39. "band_sat": true,
  40. "band_val": true,
  41. "band_pinwheel_sat": true,
  42. "band_pinwheel_val": true,
  43. "band_spiral_sat": true,
  44. "band_spiral_val": true,
  45. "cycle_all": true,
  46. "cycle_left_right": true,
  47. "cycle_up_down": true,
  48. "cycle_out_in": true,
  49. "cycle_out_in_dual": true,
  50. "rainbow_moving_chevron": true,
  51. "cycle_pinwheel": true,
  52. "cycle_spiral": true,
  53. "dual_beacon": true,
  54. "rainbow_beacon": true,
  55. "rainbow_pinwheels": true,
  56. "raindrops": true,
  57. "jellybean_raindrops": true,
  58. "hue_breathing": true,
  59. "hue_pendulum": true,
  60. "hue_wave": true,
  61. "pixel_fractal": true,
  62. "pixel_flow": true,
  63. "pixel_rain": true,
  64. "typing_heatmap": true,
  65. "digital_rain": true,
  66. "solid_reactive_simple": true,
  67. "solid_reactive": true,
  68. "solid_reactive_wide": true,
  69. "solid_reactive_multiwide": true,
  70. "solid_reactive_cross": true,
  71. "solid_reactive_multicross": true,
  72. "solid_reactive_nexus": true,
  73. "solid_reactive_multinexus": true,
  74. "splash": true,
  75. "multisplash": true,
  76. "solid_splash": true,
  77. "solid_multisplash": true
  78. },
  79. "driver": "ws2812",
  80. "layout": [
  81. {"flags": 1, "matrix": [4, 1], "x": 37, "y": 64},
  82. {"flags": 1, "matrix": [4, 2], "x": 150, "y": 64},
  83. {"flags": 1, "matrix": [4, 3], "x": 224, "y": 56},
  84. {"flags": 1, "matrix": [3, 0], "x": 0, "y": 48},
  85. {"flags": 1, "matrix": [3, 1], "x": 75, "y": 48},
  86. {"flags": 1, "matrix": [3, 2], "x": 150, "y": 48},
  87. {"flags": 1, "matrix": [2, 0], "x": 0, "y": 32},
  88. {"flags": 1, "matrix": [2, 1], "x": 75, "y": 32},
  89. {"flags": 1, "matrix": [2, 2], "x": 150, "y": 32},
  90. {"flags": 1, "matrix": [2, 3], "x": 224, "y": 24},
  91. {"flags": 1, "matrix": [1, 0], "x": 0, "y": 16},
  92. {"flags": 1, "matrix": [1, 1], "x": 75, "y": 16},
  93. {"flags": 1, "matrix": [1, 2], "x": 150, "y": 16},
  94. {"flags": 1, "matrix": [0, 0], "x": 0, "y": 0},
  95. {"flags": 1, "matrix": [0, 1], "x": 75, "y": 0},
  96. {"flags": 1, "matrix": [0, 2], "x": 150, "y": 0},
  97. {"flags": 1, "matrix": [0, 3], "x": 224, "y": 0}
  98. ],
  99. "max_brightness": 180,
  100. "sleep": true
  101. },
  102. "indicators": {
  103. "num_lock": "B15",
  104. "on_state": 0
  105. },
  106. "community_layouts": ["numpad_5x4"],
  107. "layouts": {
  108. "LAYOUT_numpad_5x4": {
  109. "layout": [
  110. {"label": "Num Lock", "matrix": [0, 0], "x": 0, "y": 0},
  111. {"label": "/", "matrix": [0, 1], "x": 1, "y": 0},
  112. {"label": "*", "matrix": [0, 2], "x": 2, "y": 0},
  113. {"label": "-", "matrix": [0, 3], "x": 3, "y": 0},
  114. {"label": "7", "matrix": [1, 0], "x": 0, "y": 1},
  115. {"label": "8", "matrix": [1, 1], "x": 1, "y": 1},
  116. {"label": "9", "matrix": [1, 2], "x": 2, "y": 1},
  117. {"label": "4", "matrix": [2, 0], "x": 0, "y": 2},
  118. {"label": "5", "matrix": [2, 1], "x": 1, "y": 2},
  119. {"label": "6", "matrix": [2, 2], "x": 2, "y": 2},
  120. {"h": 2, "label": "+", "matrix": [1, 3], "x": 3, "y": 1},
  121. {"label": "1", "matrix": [3, 0], "x": 0, "y": 3},
  122. {"label": "2", "matrix": [3, 1], "x": 1, "y": 3},
  123. {"label": "3", "matrix": [3, 2], "x": 2, "y": 3},
  124. {"label": "0", "matrix": [4, 0], "w": 2, "x": 0, "y": 4},
  125. {"label": ".", "matrix": [4, 2], "x": 2, "y": 4},
  126. {"h": 2, "label": "Enter", "matrix": [3, 3], "x": 3, "y": 3}
  127. ]
  128. }
  129. }
  130. }