diff options
author | Joel Challis <[email protected]> | 2024-03-15 22:24:00 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-15 22:24:00 +0000 |
commit | 1a903372846f24028431d20bc25e64b4da69da27 (patch) | |
tree | d628946d38d303f98f24c14db6b3cdd85f7397bb /keyboards/pabile/p18/keyboard.json | |
parent | 24d824aae40b932dbcdc5036d7f30a6f2f352442 (diff) | |
download | qmk_firmware-1a903372846f24028431d20bc25e64b4da69da27.tar.gz qmk_firmware-1a903372846f24028431d20bc25e64b4da69da27.zip |
Migrate features from rules.mk to data driven - OPQR (#23285)
Diffstat (limited to 'keyboards/pabile/p18/keyboard.json')
-rw-r--r-- | keyboards/pabile/p18/keyboard.json | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/keyboards/pabile/p18/keyboard.json b/keyboards/pabile/p18/keyboard.json new file mode 100644 index 0000000000..4bc6047ec0 --- /dev/null +++ b/keyboards/pabile/p18/keyboard.json @@ -0,0 +1,61 @@ +{ + "keyboard_name": "P18 Macro Pad", + "manufacturer": "Pabile", + "url": "https://pabileonline.blogspot.com/", + "maintainer": "Pabile", + "usb": { + "vid": "0x6666", + "pid": "0x6668", + "device_version": "0.0.1" + }, + "features": { + "bootmagic": false, + "command": false, + "console": false, + "encoder": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "unicode": true + }, + "matrix_pins": { + "cols": ["D2", "D7", "E6", "B4", "B5"], + "rows": ["D1", "D0", "D4", "C6"] + }, + "diode_direction": "COL2ROW", + "encoder": { + "rotary": [ + {"pin_a": "B6", "pin_b": "F4"}, + {"pin_a": "F6", "pin_b": "F5"} + ] + }, + "processor": "atmega32u4", + "bootloader": "caterina", + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 4], "x": 1.25, "y": 0}, + {"matrix": [0, 3], "x": 2.25, "y": 0}, + {"matrix": [0, 2], "x": 3.25, "y": 0}, + {"matrix": [0, 1], "x": 4.25, "y": 0}, + + {"matrix": [1, 4], "x": 1.25, "y": 1}, + {"matrix": [1, 3], "x": 2.25, "y": 1}, + {"matrix": [1, 2], "x": 3.25, "y": 1}, + {"matrix": [1, 1], "x": 4.25, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 4], "x": 1.25, "y": 2}, + {"matrix": [2, 3], "x": 2.25, "y": 2}, + {"matrix": [2, 2], "x": 3.25, "y": 2}, + {"matrix": [2, 1], "x": 4.25, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 4], "x": 1.25, "y": 3}, + {"matrix": [3, 3], "x": 2.25, "y": 3}, + {"matrix": [3, 2], "x": 3.25, "y": 3}, + {"matrix": [3, 1], "x": 4.25, "y": 3} + ] + } + } +} |