1
0
Fork 0
forked from forks/qmk_firmware

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

This commit is contained in:
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,
"console": true,
"command": true,
"nkro": true,
"nkro": true
},
"build": {
"lto": true
},
"processor": "atmega32u4",

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -37,11 +37,7 @@
"encoder": {
"rotary": [
{
"pin_a": "B1",
"pin_b": "F7",
"resolution": 2
}
{"pin_a": "B1", "pin_b": "F7", "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.",
"encoder": {
"rotary": [
{
"pin_a": "GP8",
"pin_b": "GP5",
"resolution": 2
}
{"pin_a": "GP8", "pin_b": "GP5", "resolution": 2}
]
},
"ws2812": {

View file

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