diff options
author | Joel Challis <[email protected]> | 2024-03-15 01:42:15 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-15 01:42:15 +0000 |
commit | 539fa21bf80308a21048334909b6512917aa3c7b (patch) | |
tree | e8bd54e073f8b4cebcb111f51fc24b318a763a87 /keyboards/kprepublic/jj4x4/keyboard.json | |
parent | 16ad09299c25d3338771c5743729f0ec4b90586b (diff) | |
download | qmk_firmware-539fa21bf80308a21048334909b6512917aa3c7b.tar.gz qmk_firmware-539fa21bf80308a21048334909b6512917aa3c7b.zip |
Migrate features from rules.mk to data driven - IJK (#23276)
Diffstat (limited to 'keyboards/kprepublic/jj4x4/keyboard.json')
-rw-r--r-- | keyboards/kprepublic/jj4x4/keyboard.json | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/keyboards/kprepublic/jj4x4/keyboard.json b/keyboards/kprepublic/jj4x4/keyboard.json new file mode 100644 index 0000000000..2f53db2e88 --- /dev/null +++ b/keyboards/kprepublic/jj4x4/keyboard.json @@ -0,0 +1,78 @@ +{ + "keyboard_name": "JJ4x4", + "manufacturer": "KPrepublic", + "url": "", + "maintainer": "qmk", + "usb": { + "vid": "0x4B50", + "pid": "0x0044", + "device_version": "2.0.0", + "max_power": 100 + }, + "features": { + "backlight": true, + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": false, + "rgblight": true + }, + "matrix_pins": { + "cols": ["A1", "A0", "A2", "A3"], + "rows": ["B5", "B0", "B3", "B4"] + }, + "diode_direction": "COL2ROW", + "backlight": { + "pin": "D4", + "levels": 12, + "breathing": true + }, + "rgblight": { + "led_count": 4, + "animations": { + "breathing": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "snake": true, + "knight": true, + "christmas": true, + "static_gradient": true, + "rgb_test": true, + "alternating": true, + "twinkle": true + } + }, + "ws2812": { + "driver": "i2c" + }, + "processor": "atmega32a", + "bootloader": "bootloadhid", + "community_layouts": ["ortho_4x4"], + "layouts": { + "LAYOUT_ortho_4x4": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2}, + {"matrix": [2, 1], "x": 1, "y": 2}, + {"matrix": [2, 2], "x": 2, "y": 2}, + {"matrix": [2, 3], "x": 3, "y": 2}, + + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1, "y": 3}, + {"matrix": [3, 2], "x": 2, "y": 3}, + {"matrix": [3, 3], "x": 3, "y": 3} + ] + } + } +} |