Done some slight changes in keyboard.json file according to QMK member suggestions in pull request

This commit is contained in:
atechofficials 2024-06-25 05:02:01 +05:30
parent d1c29a4f6b
commit 5c70850397

View File

@ -1,19 +1,12 @@
{ {
"audio": { "audio": {
"default": { "default": {
"clicky": false,
"on": false "on": false
}, },
"macro_beep": false, "pins": ["GP22"]
"pins": ["GP22"],
"voices": false
}, },
"board": "GENERIC_RP_RP2040", "board": "GENERIC_RP_RP2040",
"bootloader": "rp2040", "bootloader": "rp2040",
"bootmagic": {
"enabled": true,
"matrix": [0, 0]
},
"debounce": 20, "debounce": 20,
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"dip_switch": { "dip_switch": {
@ -21,7 +14,9 @@
"pins": ["GP14"] "pins": ["GP14"]
}, },
"encoder": { "encoder": {
"rotary": [{ "pin_a": "GP12", "pin_b": "GP13", "resolution": 2 }] "rotary": [
{"pin_a": "GP12", "pin_b": "GP13", "resolution": 2}
]
}, },
"features": { "features": {
"bootmagic": true, "bootmagic": true,
@ -59,11 +54,6 @@
}, },
"driver": "ws2812", "driver": "ws2812",
"hue_steps": 15, "hue_steps": 15,
"layers": {
"blink": false,
"enabled": false,
"max": 4
},
"led_count": 4, "led_count": 4,
"led_map": [3, 2, 1, 0], "led_map": [3, 2, 1, 0],
"max_brightness": 127, "max_brightness": 127,
@ -81,102 +71,22 @@
"layouts": { "layouts": {
"LAYOUT_ortho_4x4": { "LAYOUT_ortho_4x4": {
"layout": [ "layout": [
{ {"label": "7", "matrix": [0, 0], "x": 0, "y": 0},
"label": "7", {"label": "8", "matrix": [0, 1], "x": 1, "y": 0},
"matrix": [0, 0], {"label": "9", "matrix": [0, 2], "x": 2, "y": 0},
"x": 0, {"label": "/", "matrix": [0, 3], "x": 3, "y": 0},
"y": 0 {"label": "4", "matrix": [1, 0], "x": 0, "y": 1},
}, {"label": "5", "matrix": [1, 1], "x": 1, "y": 1},
{ {"label": "6", "matrix": [1, 2], "x": 2, "y": 1},
"label": "8", {"label": "*", "matrix": [1, 3], "x": 3, "y": 1},
"matrix": [0, 1], {"label": "1", "matrix": [2, 0], "x": 0, "y": 2},
"x": 1, {"label": "2", "matrix": [2, 1], "x": 1, "y": 2},
"y": 0 {"label": "3", "matrix": [2, 2], "x": 2, "y": 2},
}, {"label": "-", "matrix": [2, 3], "x": 3, "y": 2},
{ {"label": "0", "matrix": [3, 0], "x": 0, "y": 3},
"label": "9", {"label": ".", "matrix": [3, 1], "x": 1, "y": 3},
"matrix": [0, 2], {"label": "ENTER", "matrix": [3, 2], "x": 2, "y": 3},
"x": 2, {"label": "+", "matrix": [3, 3], "x": 3, "y": 3}
"y": 0
},
{
"label": "/",
"matrix": [0, 3],
"x": 3,
"y": 0
},
{
"label": "4",
"matrix": [1, 0],
"x": 0,
"y": 1
},
{
"label": "5",
"matrix": [1, 1],
"x": 1,
"y": 1
},
{
"label": "6",
"matrix": [1, 2],
"x": 2,
"y": 1
},
{
"label": "*",
"matrix": [1, 3],
"x": 3,
"y": 1
},
{
"label": "1",
"matrix": [2, 0],
"x": 0,
"y": 2
},
{
"label": "2",
"matrix": [2, 1],
"x": 1,
"y": 2
},
{
"label": "3",
"matrix": [2, 2],
"x": 2,
"y": 2
},
{
"label": "-",
"matrix": [2, 3],
"x": 3,
"y": 2
},
{
"label": "0",
"matrix": [3, 0],
"x": 0,
"y": 3
},
{
"label": ".",
"matrix": [3, 1],
"x": 1,
"y": 3
},
{
"label": "ENTER",
"matrix": [3, 2],
"x": 2,
"y": 3
},
{
"label": "+",
"matrix": [3, 3],
"x": 3,
"y": 3
}
] ]
} }
} }