keyboard.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "keyboard_name": "snatchpad",
  3. "manufacturer": "xia0",
  4. "url": "",
  5. "maintainer": "xia0",
  6. "usb": {
  7. "vid": "0x6662",
  8. "pid": "0x7370",
  9. "device_version": "0.0.1"
  10. },
  11. "features": {
  12. "bootmagic": true,
  13. "command": false,
  14. "console": false,
  15. "encoder": true,
  16. "extrakey": true,
  17. "key_lock": true,
  18. "mousekey": true,
  19. "nkro": true
  20. },
  21. "qmk": {
  22. "locking": {
  23. "enabled": true,
  24. "resync": true
  25. }
  26. },
  27. "matrix_pins": {
  28. "cols": ["B1", "B3", "B2"],
  29. "rows": ["F4", "F5", "F6"]
  30. },
  31. "diode_direction": "COL2ROW",
  32. "encoder": {
  33. "rotary": [
  34. {"pin_a": "D3", "pin_b": "D2"},
  35. {"pin_a": "D0", "pin_b": "D1"}
  36. ]
  37. },
  38. "processor": "atmega32u4",
  39. "bootloader": "atmel-dfu",
  40. "layouts": {
  41. "LAYOUT": {
  42. "layout": [
  43. {"matrix": [0, 0], "x": 1, "y": 0},
  44. {"matrix": [0, 1], "x": 2, "y": 0},
  45. {"matrix": [0, 2], "x": 3, "y": 0},
  46. {"matrix": [1, 0], "x": 1, "y": 1},
  47. {"matrix": [1, 1], "x": 2, "y": 1},
  48. {"matrix": [1, 2], "x": 3, "y": 1},
  49. {"matrix": [2, 0], "x": 0, "y": 2},
  50. {"matrix": [2, 2], "x": 4, "y": 2}
  51. ]
  52. }
  53. }
  54. }