diff options
| author | Joel Challis | 2024-03-15 02:42:55 +0100 |
|---|---|---|
| committer | GitHub | 2024-03-15 02:42:55 +0100 |
| commit | 01473075f8e78adcfbd4f9f4b6bb1d7682a7ee4d (patch) | |
| tree | fe4f7b504ab90f5ff82162adc8366eccd8163b0b /keyboards/handwired/snatchpad/keyboard.json | |
| parent | 80b72487ce053f128817c5d4c625a63cb3cf9c10 (diff) | |
Migrate features from rules.mk to data driven - EFGH (#23248)
Diffstat (limited to 'keyboards/handwired/snatchpad/keyboard.json')
| -rw-r--r-- | keyboards/handwired/snatchpad/keyboard.json | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/keyboards/handwired/snatchpad/keyboard.json b/keyboards/handwired/snatchpad/keyboard.json new file mode 100644 index 0000000000..3ff80ad2fd --- /dev/null +++ b/keyboards/handwired/snatchpad/keyboard.json @@ -0,0 +1,50 @@ +{ + "keyboard_name": "snatchpad", + "manufacturer": "xia0", + "url": "", + "maintainer": "xia0", + "usb": { + "vid": "0x6662", + "pid": "0x7370", + "device_version": "0.0.1" + }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "key_lock": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["B1", "B3", "B2"], + "rows": ["F4", "F5", "F6"] + }, + "diode_direction": "COL2ROW", + "encoder": { + "rotary": [ + {"pin_a": "D3", "pin_b": "D2"}, + {"pin_a": "D0", "pin_b": "D1"} + ] + }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 1, "y": 0}, + {"matrix": [0, 1], "x": 2, "y": 0}, + {"matrix": [0, 2], "x": 3, "y": 0}, + + {"matrix": [1, 0], "x": 1, "y": 1}, + {"matrix": [1, 1], "x": 2, "y": 1}, + {"matrix": [1, 2], "x": 3, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 2], "x": 4, "y": 2} + ] + } + } +} |