keyboard.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. {
  2. "manufacturer": "mawaeg",
  3. "keyboard_name": "Sharkropad",
  4. "maintainer": "mawaeg",
  5. "bootloader": "stm32-dfu",
  6. "bootmagic": {
  7. "matrix": [0, 3]
  8. },
  9. "diode_direction": "COL2ROW",
  10. "encoder": {
  11. "rotary": [
  12. {"pin_a": "A0", "pin_b": "A1"}
  13. ]
  14. },
  15. "features": {
  16. "bootmagic": true,
  17. "encoder": true,
  18. "extrakey": true,
  19. "nkro": true,
  20. "oled": true,
  21. "rgb_matrix": true
  22. },
  23. "matrix_pins": {
  24. "cols": ["B1", "B0", "A4", "A2"],
  25. "rows": ["A3", "A7", "A6", "A5"]
  26. },
  27. "processor": "STM32L432",
  28. "rgb_matrix": {
  29. "animations": {
  30. "alphas_mods": true,
  31. "band_pinwheel_sat": true,
  32. "band_pinwheel_val": true,
  33. "band_sat": true,
  34. "band_spiral_sat": true,
  35. "band_spiral_val": true,
  36. "band_val": true,
  37. "breathing": true,
  38. "cycle_all": true,
  39. "cycle_left_right": true,
  40. "cycle_out_in": true,
  41. "cycle_out_in_dual": true,
  42. "cycle_pinwheel": true,
  43. "cycle_spiral": true,
  44. "cycle_up_down": true,
  45. "digital_rain": true,
  46. "dual_beacon": true,
  47. "flower_blooming": true,
  48. "gradient_left_right": true,
  49. "gradient_up_down": true,
  50. "hue_breathing": true,
  51. "hue_pendulum": true,
  52. "hue_wave": true,
  53. "jellybean_raindrops": true,
  54. "multisplash": true,
  55. "pixel_flow": true,
  56. "pixel_fractal": true,
  57. "pixel_rain": true,
  58. "rainbow_beacon": true,
  59. "rainbow_moving_chevron": true,
  60. "rainbow_pinwheels": true,
  61. "raindrops": true,
  62. "riverflow": true,
  63. "solid_multisplash": true,
  64. "solid_reactive": true,
  65. "solid_reactive_cross": true,
  66. "solid_reactive_multicross": true,
  67. "solid_reactive_multinexus": true,
  68. "solid_reactive_multiwide": true,
  69. "solid_reactive_nexus": true,
  70. "solid_reactive_simple": true,
  71. "solid_reactive_wide": true,
  72. "solid_splash": true,
  73. "splash": true,
  74. "starlight": true,
  75. "starlight_dual_hue": true,
  76. "starlight_dual_sat": true,
  77. "typing_heatmap": true
  78. },
  79. "default": {
  80. "animation": "cycle_up_down"
  81. },
  82. "driver": "ws2812",
  83. "layout": [
  84. {"matrix": [1, 0], "x": 189, "y": 27, "flags": 4},
  85. {"matrix": [1, 1], "x": 137, "y": 27, "flags": 4},
  86. {"matrix": [1, 2], "x": 86, "y": 27, "flags": 4},
  87. {"matrix": [1, 3], "x": 35, "y": 27, "flags": 4},
  88. {"matrix": [2, 0], "x": 189, "y": 41, "flags": 4},
  89. {"matrix": [2, 1], "x": 137, "y": 41, "flags": 4},
  90. {"matrix": [2, 2], "x": 86, "y": 41, "flags": 4},
  91. {"matrix": [2, 3], "x": 35, "y": 41, "flags": 4},
  92. {"matrix": [3, 0], "x": 189, "y": 55, "flags": 4},
  93. {"matrix": [3, 1], "x": 137, "y": 55, "flags": 4},
  94. {"matrix": [3, 2], "x": 86, "y": 55, "flags": 4},
  95. {"matrix": [3, 3], "x": 35, "y": 55, "flags": 4},
  96. {"x": 76, "y": 3, "flags": 2},
  97. {"x": 148, "y": 3, "flags": 2},
  98. {"x": 216, "y": 17, "flags": 2},
  99. {"x": 216, "y": 45, "flags": 2},
  100. {"x": 224, "y": 61, "flags": 2},
  101. {"x": 60, "y": 61, "flags": 2},
  102. {"x": 8, "y": 45, "flags": 2},
  103. {"x": 8, "y": 17, "flags": 2}
  104. ],
  105. "max_brightness": 180
  106. },
  107. "url": "https://github.com/mawaeg/sharkropad",
  108. "usb": {
  109. "device_version": "1.0.0",
  110. "pid": "0xAFFE",
  111. "vid": "0x6D73"
  112. },
  113. "ws2812": {
  114. "driver": "pwm",
  115. "pin": "B3"
  116. },
  117. "layouts": {
  118. "LAYOUT": {
  119. "layout": [
  120. {"matrix": [0, 3], "x": 3, "y": 0},
  121. {"matrix": [1, 0], "x": 0, "y": 1},
  122. {"matrix": [1, 1], "x": 1, "y": 1},
  123. {"matrix": [1, 2], "x": 2, "y": 1},
  124. {"matrix": [1, 3], "x": 3, "y": 1},
  125. {"matrix": [2, 0], "x": 0, "y": 2},
  126. {"matrix": [2, 1], "x": 1, "y": 2},
  127. {"matrix": [2, 2], "x": 2, "y": 2},
  128. {"matrix": [2, 3], "x": 3, "y": 2},
  129. {"matrix": [3, 0], "x": 0, "y": 3},
  130. {"matrix": [3, 1], "x": 1, "y": 3},
  131. {"matrix": [3, 2], "x": 2, "y": 3},
  132. {"matrix": [3, 3], "x": 3, "y": 3}
  133. ]
  134. }
  135. }
  136. }