Fix info.json LTO and format encoder definitions (#20456)

master
Ryan 2023-04-16 15:37:24 +10:00 committed by GitHub
parent 1e3d2f2c1e
commit 798cbfe6a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
60 changed files with 108 additions and 225 deletions

View File

@ -15,7 +15,9 @@
"extrakey": true, "extrakey": true,
"console": true, "console": true,
"command": true, "command": true,
"nkro": true, "nkro": true
},
"build": {
"lto": true "lto": true
}, },
"processor": "atmega32u4", "processor": "atmega32u4",

View File

@ -32,11 +32,7 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "B5", "pin_b": "B6", "resolution": 4}
"pin_a": "B5",
"pin_b": "B6",
"resolution": 4
}
] ]
}, },
"rgb_matrix": { "rgb_matrix": {

View File

@ -36,10 +36,7 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "GP14", "pin_b": "GP13"}
"pin_a": "GP14",
"pin_b": "GP13"
}
] ]
}, },
"rgb_matrix": { "rgb_matrix": {

View File

@ -36,10 +36,7 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "GP14", "pin_b": "GP13"}
"pin_a": "GP14",
"pin_b": "GP13"
}
] ]
}, },
"rgb_matrix": { "rgb_matrix": {

View File

@ -36,10 +36,7 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "GP14", "pin_b": "GP13"}
"pin_a": "GP14",
"pin_b": "GP13"
}
] ]
}, },
"rgb_matrix": { "rgb_matrix": {

View File

@ -35,18 +35,9 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "GP4", "pin_b": "GP3"},
"pin_a": "GP4", {"pin_a": "GP22", "pin_b": "GP2"},
"pin_b": "GP3" {"pin_a": "GP23", "pin_b": "GP24"}
},
{
"pin_a": "GP22",
"pin_b": "GP2"
},
{
"pin_a": "GP23",
"pin_b": "GP24"
}
] ]
}, },
"rgb_matrix": { "rgb_matrix": {

View File

@ -36,14 +36,8 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "GP27", "pin_b": "GP28"},
"pin_a": "GP27", {"pin_a": "GP4", "pin_b": "GP3"}
"pin_b": "GP28"
},
{
"pin_a": "GP4",
"pin_b": "GP3"
}
] ]
}, },
"rgb_matrix": { "rgb_matrix": {

View File

@ -34,14 +34,8 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "F6", "pin_b": "F5"},
"pin_a": "F6", {"pin_a": "D4", "pin_b": "D0"}
"pin_b": "F5"
},
{
"pin_a": "D4",
"pin_b": "D0"
}
] ]
}, },
"rgb_matrix": { "rgb_matrix": {

View File

@ -40,11 +40,7 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "GP27", "pin_b": "GP28", "resolution": 2}
"pin_a": "GP27",
"pin_b": "GP28",
"resolution": 2
}
] ]
}, },
"matrix_pins": { "matrix_pins": {

View File

@ -45,21 +45,9 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "GP27", "pin_b": "GP28", "resolution": 2},
"pin_a": "GP27", {"pin_a": "GP4", "pin_b": "GP3", "resolution": 2},
"pin_b": "GP28", {"pin_a": "GP1", "pin_b": "GP2", "resolution": 2}
"resolution": 2
},
{
"pin_a": "GP4",
"pin_b": "GP3",
"resolution": 2
},
{
"pin_a": "GP1",
"pin_b": "GP2",
"resolution": 2
}
] ]
}, },
"layouts": { "layouts": {

View File

@ -45,11 +45,7 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "GP1", "pin_b": "GP2", "resolution": 2}
"pin_a": "GP1",
"pin_b": "GP2",
"resolution": 2
}
] ]
}, },
"layouts": { "layouts": {

View File

@ -114,7 +114,7 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "B7", "pin_b": "D5" } {"pin_a": "B7", "pin_b": "D5"}
] ]
} }
} }

View File

@ -30,10 +30,9 @@
"pin": "B7" "pin": "B7"
}, },
"encoder": { "encoder": {
"rotary": [{ "rotary": [
"pin_a": "D2", {"pin_a": "D2", "pin_b": "D1"}
"pin_b": "D1" ]
}]
}, },
"layouts": { "layouts": {
"LAYOUT": { "LAYOUT": {

View File

@ -13,10 +13,7 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "D6", "pin_b": "D7"}
"pin_a": "D6",
"pin_b": "D7"
}
] ]
} }
} }

View File

@ -13,10 +13,7 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "B3", "pin_b": "B4"}
"pin_a": "B3",
"pin_b": "B4"
}
] ]
} }
} }

View File

@ -15,7 +15,7 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "F4", "pin_b": "F5" } {"pin_a": "F4", "pin_b": "F5"}
] ]
} }
} }

View File

@ -7,7 +7,7 @@
"processor": "RP2040", "processor": "RP2040",
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "GP8", "pin_b": "GP9" } {"pin_a": "GP8", "pin_b": "GP9"}
] ]
}, },
"ws2812": { "ws2812": {

View File

@ -15,7 +15,7 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ "pin_a": "E6", "pin_b": "B2"} {"pin_a": "E6", "pin_b": "B2"}
] ]
}, },
"split": { "split": {
@ -29,7 +29,7 @@
"encoder": { "encoder": {
"right": { "right": {
"rotary": [ "rotary": [
{ "pin_a": "B6", "pin_b": "B2" } {"pin_a": "B6", "pin_b": "B2"}
] ]
} }
} }

View File

@ -27,7 +27,7 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "GP28", "pin_b": "GP29" } {"pin_a": "GP28", "pin_b": "GP29"}
] ]
}, },
"backlight": { "backlight": {

View File

@ -27,7 +27,7 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "GP28", "pin_b": "GP29" } {"pin_a": "GP28", "pin_b": "GP29"}
] ]
}, },
"backlight": { "backlight": {

View File

@ -89,7 +89,7 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "B5", "pin_b": "B4" } {"pin_a": "B5", "pin_b": "B4"}
] ]
} }
} }

View File

@ -21,6 +21,9 @@
"rgblight": true, "rgblight": true,
"unicode": false "unicode": false
}, },
"build": {
"lto": true
},
"matrix_pins": { "matrix_pins": {
"cols": ["F1", "F7", "F6"], "cols": ["F1", "F7", "F6"],
"rows": ["F0", "F5", "F4", "B4"] "rows": ["F0", "F5", "F4", "B4"]

View File

@ -23,10 +23,10 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "D5", "pin_b": "D3" }, {"pin_a": "D5", "pin_b": "D3"},
{ "pin_a": "B2", "pin_b": "B3" }, {"pin_a": "B2", "pin_b": "B3"},
{ "pin_a": "F5", "pin_b": "F6" }, {"pin_a": "F5", "pin_b": "F6"},
{ "pin_a": "E6", "pin_b": "F0" } {"pin_a": "E6", "pin_b": "F0"}
] ]
}, },
"processor": "atmega32u4", "processor": "atmega32u4",

View File

@ -230,7 +230,7 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "B5", "pin_b": "B4", "resolution": 2 } {"pin_a": "B5", "pin_b": "B4", "resolution": 2}
] ]
} }
} }

View File

@ -26,8 +26,8 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "GP25", "pin_b": "GP28", "resolution": 2 }, {"pin_a": "GP25", "pin_b": "GP28", "resolution": 2},
{ "pin_a": "GP1", "pin_b": "GP0", "resolution": 2 } {"pin_a": "GP1", "pin_b": "GP0", "resolution": 2}
] ]
}, },
"layouts": { "layouts": {

View File

@ -26,11 +26,7 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ {"pin_a": "B0", "pin_b": "B7", "resolution": 2}
"pin_a": "B0",
"pin_b": "B7",
"resolution": 2
}
] ]
}, },
"community_layouts": ["65_ansi", "65_iso"], "community_layouts": ["65_ansi", "65_iso"],

View File

@ -21,11 +21,7 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ {"pin_a": "D3", "pin_b": "D5", "resolution": 2}
"pin_a": "D3",
"pin_b": "D5",
"resolution": 2
}
] ]
}, },
"layouts": { "layouts": {

View File

@ -29,10 +29,10 @@
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "B3", "pin_b": "A15" }, {"pin_a": "B3", "pin_b": "A15"},
{ "pin_a": "B4", "pin_b": "B5" }, {"pin_a": "B4", "pin_b": "B5"},
{ "pin_a": "B9", "pin_b": "B8" }, {"pin_a": "B9", "pin_b": "B8"},
{ "pin_a": "F0", "pin_b": "F1" } {"pin_a": "F0", "pin_b": "F1"}
] ]
}, },
"layouts": { "layouts": {

View File

@ -28,16 +28,8 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "GP29", "pin_b": "GP28", "resolution": 4},
"pin_a": "GP29", {"pin_a": "GP2", "pin_b": "GP3", "resolution": 4}
"pin_b": "GP28",
"resolution": 4
},
{
"pin_a": "GP2",
"pin_b": "GP3",
"resolution": 4
}
] ]
}, },
"rgb_matrix": { "rgb_matrix": {

View File

@ -37,10 +37,7 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ {"pin_a": "B13", "pin_b": "B12"}
"pin_a": "B13",
"pin_b": "B12"
}
] ]
}, },
"tapping": { "tapping": {

View File

@ -11,7 +11,7 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "D3", "pin_b": "D2", "resolution": 4 } {"pin_a": "D3", "pin_b": "D2", "resolution": 4}
] ]
}, },
"matrix_pins": { "matrix_pins": {

View File

@ -19,7 +19,7 @@
"diode_direction": "ROW2COL", "diode_direction": "ROW2COL",
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "B14", "pin_b": "B13","resolution": 4 } {"pin_a": "B14", "pin_b": "B13", "resolution": 4}
] ]
}, },
"layouts": { "layouts": {

View File

@ -15,6 +15,9 @@
"oled": true, "oled": true,
"rgb_matrix": true "rgb_matrix": true
}, },
"build": {
"lto": true
},
"rgb_matrix": { "rgb_matrix": {
"driver": "WS2812" "driver": "WS2812"
}, },

View File

@ -14,6 +14,9 @@
"nkro": true, "nkro": true,
"rgb_matrix": true "rgb_matrix": true
}, },
"build": {
"lto": true
},
"matrix_pins": { "matrix_pins": {
"cols": ["F7", "F6", "D5", "D3"], "cols": ["F7", "F6", "D5", "D3"],
"rows": ["F4", "C7", "C6", "B6", "B5", "D7"] "rows": ["F4", "C7", "C6", "B6", "B5", "D7"]

View File

@ -20,8 +20,8 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{"pin_a": "GP19", "pin_b": "GP18" }, {"pin_a": "GP19", "pin_b": "GP18"},
{"pin_a": "GP14", "pin_b": "GP15" } {"pin_a": "GP14", "pin_b": "GP15"}
] ]
}, },
"ws2812": { "ws2812": {

View File

@ -23,7 +23,7 @@
"encoder": { "encoder": {
"right": { "right": {
"rotary": [ "rotary": [
{"pin_a": "D6", "pin_b": "D4" } {"pin_a": "D6", "pin_b": "D4"}
] ]
} }
}, },
@ -41,7 +41,7 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{"pin_a": "F5", "pin_b": "F6" } {"pin_a": "F5", "pin_b": "F6"}
] ]
}, },
"backlight":{ "backlight":{

View File

@ -23,7 +23,7 @@
"encoder": { "encoder": {
"right": { "right": {
"rotary": [ "rotary": [
{"pin_a": "D6", "pin_b": "D4" } {"pin_a": "D6", "pin_b": "D4"}
] ]
} }
}, },
@ -41,7 +41,7 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{"pin_a": "F5", "pin_b": "F6" } {"pin_a": "F5", "pin_b": "F6"}
] ]
}, },
"backlight":{ "backlight":{

View File

@ -18,7 +18,7 @@
"encoder": { "encoder": {
"right": { "right": {
"rotary": [ "rotary": [
{"pin_a": "GP5", "pin_b": "GP6" } {"pin_a": "GP5", "pin_b": "GP6"}
] ]
} }
}, },
@ -36,7 +36,7 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{"pin_a": "GP21", "pin_b": "GP20" } {"pin_a": "GP21", "pin_b": "GP20"}
] ]
}, },
"ws2812": { "ws2812": {

View File

@ -17,10 +17,7 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ {"pin_a": "F0", "pin_b": "F1"}
"pin_a": "F0",
"pin_b": "F1"
}
] ]
}, },
"layouts":{ "layouts":{

View File

@ -46,10 +46,10 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "B0", "pin_b": "A2", "resolution": 4 }, {"pin_a": "B0", "pin_b": "A2", "resolution": 4},
{ "pin_a": "B3", "pin_b": "A15", "resolution": 4 }, {"pin_a": "B3", "pin_b": "A15", "resolution": 4},
{ "pin_a": "B9", "pin_b": "B8", "resolution": 4 }, {"pin_a": "B9", "pin_b": "B8", "resolution": 4},
{ "pin_a": "C15", "pin_b": "C14", "resolution": 4 } {"pin_a": "C15", "pin_b": "C14", "resolution": 4}
] ]
}, },
"layouts": { "layouts": {

View File

@ -18,7 +18,7 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "A10", "pin_b": "A9", "resolution": 2 } {"pin_a": "A10", "pin_b": "A9", "resolution": 2}
] ]
}, },
"matrix_pins": { "matrix_pins": {

View File

@ -46,7 +46,7 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "B9", "pin_b": "B7" } {"pin_a": "B9", "pin_b": "B7"}
] ]
}, },
"usb": { "usb": {

View File

@ -26,9 +26,12 @@
"rgblight": true, "rgblight": true,
"lto": true "lto": true
}, },
"build": {
"lto": true
},
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "F4", "pin_b": "F5" } {"pin_a": "F4", "pin_b": "F5"}
] ]
}, },
"rgblight": { "rgblight": {

View File

@ -28,7 +28,9 @@
"pin": "D3" "pin": "D3"
}, },
"encoder": { "encoder": {
"rotary": [{ "pin_a": "C6", "pin_b": "D4" }] "rotary": [
{"pin_a": "C6", "pin_b": "D4"}
]
}, },
"usb": { "usb": {
"device_version": "1.0.0", "device_version": "1.0.0",

View File

@ -43,7 +43,9 @@
} }
}, },
"encoder": { "encoder": {
"rotary": [{ "pin_a": "GP7", "pin_b": "GP7", "resolution": 4 }] "rotary": [
{"pin_a": "GP7", "pin_b": "GP7", "resolution": 4}
]
}, },
"usb": { "usb": {
"device_version": "1.0.0", "device_version": "1.0.0",

View File

@ -6,10 +6,7 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ {"pin_a": "B4", "pin_b": "B5"}
"pin_a": "B4",
"pin_b": "B5"
}
] ]
}, },
"features": { "features": {

View File

@ -7,11 +7,7 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "GP4", "pin_b": "GP21", "resolution": 2}
"pin_a": "GP4",
"pin_b": "GP21",
"resolution": 2
}
] ]
}, },
"features": { "features": {
@ -37,10 +33,7 @@
"encoder": { "encoder": {
"right": { "right": {
"rotary": [ "rotary": [
{ {"pin_a": "GP21", "pin_b": "GP4"}
"pin_a": "GP21",
"pin_b": "GP4"
}
] ]
} }
} }

View File

@ -75,10 +75,7 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "D4", "pin_b": "C6"}
"pin_a": "D4",
"pin_b": "C6"
}
] ]
}, },
"split": { "split": {
@ -96,10 +93,7 @@
"encoder": { "encoder": {
"right": { "right": {
"rotary": [ "rotary": [
{ {"pin_a": "F6", "pin_b": "F7"}
"pin_a": "F6",
"pin_b": "F7"
}
] ]
} }
} }

View File

@ -86,10 +86,7 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "C6", "pin_b": "D4"}
"pin_a": "C6",
"pin_b": "D4"
}
] ]
}, },
"split": { "split": {
@ -107,10 +104,7 @@
"encoder": { "encoder": {
"right": { "right": {
"rotary": [ "rotary": [
{ {"pin_a": "F7", "pin_b": "F6"}
"pin_a": "F7",
"pin_b": "F6"
}
] ]
} }
} }

View File

@ -70,14 +70,8 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "B5", "pin_b": "B4"},
"pin_a": "B5", {"pin_a": "B3", "pin_b": "B2"}
"pin_b": "B4"
},
{
"pin_a": "B3",
"pin_b": "B2"
}
] ]
}, },
"split": { "split": {
@ -95,14 +89,8 @@
"encoder": { "encoder": {
"right": { "right": {
"rotary": [ "rotary": [
{ {"pin_a": "B2", "pin_b": "B6"},
"pin_a": "B2", {"pin_a": "F5", "pin_b": "D4"}
"pin_b": "B6"
},
{
"pin_a": "F5",
"pin_b": "D4"
}
] ]
} }
} }

View File

@ -144,10 +144,7 @@
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [
{ {"pin_a": "F4", "pin_b": "F5"}
"pin_a": "F4",
"pin_b": "F5"
}
] ]
}, },
"split": { "split": {
@ -165,10 +162,7 @@
"encoder": { "encoder": {
"right": { "right": {
"rotary": [ "rotary": [
{ {"pin_a": "F4", "pin_b": "F5"}
"pin_a": "F4",
"pin_b": "F5"
}
] ]
} }
} }

View File

@ -426,8 +426,8 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "D4", "pin_b": "C6" }, {"pin_a": "D4", "pin_b": "C6"},
{ "pin_a": "F4", "pin_b": "F5" } {"pin_a": "F4", "pin_b": "F5"}
] ]
} }
} }

View File

@ -43,7 +43,7 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "D3", "pin_b": "D2" } {"pin_a": "D3", "pin_b": "D2"}
] ]
} }
} }

View File

@ -37,7 +37,7 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "D1", "pin_b": "D0" } {"pin_a": "D1", "pin_b": "D0"}
] ]
}, },
"url": "https://github.com/takashicompany/goat51", "url": "https://github.com/takashicompany/goat51",

View File

@ -30,7 +30,7 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "B3", "pin_b": "B7", "resolution": 1 } {"pin_a": "B3", "pin_b": "B7", "resolution": 1}
] ]
}, },
"rgblight": { "rgblight": {

View File

@ -37,11 +37,7 @@
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ {"pin_a": "B1", "pin_b": "F7", "resolution": 2}
"pin_a": "B1",
"pin_b": "F7",
"resolution": 2
}
] ]
}, },

View File

@ -40,7 +40,7 @@
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "F7", "pin_b": "F6", "resolution": 2 } {"pin_a": "F7", "pin_b": "F6", "resolution": 2}
] ]
}, },

View File

@ -5,11 +5,7 @@
"bootloader_instructions": "Hold the boot switch and tap the reset switch, or hold the top-left key when plugging in the board.", "bootloader_instructions": "Hold the boot switch and tap the reset switch, or hold the top-left key when plugging in the board.",
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ {"pin_a": "GP8", "pin_b": "GP5", "resolution": 2}
"pin_a": "GP8",
"pin_b": "GP5",
"resolution": 2
}
] ]
}, },
"ws2812": { "ws2812": {

View File

@ -9,11 +9,7 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ {"pin_a": "B10", "pin_b": "B1", "resolution": 2}
"pin_a": "B10",
"pin_b": "B1",
"resolution": 2
}
] ]
} }
} }

View File

@ -19,8 +19,8 @@
}, },
"encoder": { "encoder": {
"rotary": [ "rotary": [
{ "pin_a": "F4", "pin_b": "F1" }, {"pin_a": "F4", "pin_b": "F1"},
{ "pin_a": "B1", "pin_b": "B2" } {"pin_a": "B1", "pin_b": "B2"}
] ]
}, },
"processor": "atmega32u4", "processor": "atmega32u4",