Move encoder config to data driven (#19923)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan
2023-02-26 09:45:12 +11:00
committed by GitHub
parent 314f6c1ddb
commit 7e0299117b
972 changed files with 2898 additions and 2569 deletions

View File

@@ -24,11 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS_RIGHT { D4, D7, D3, B7, F0, B3 }
#define SPLIT_HAND_PIN D5
#define ENCODERS_PAD_A { B2 }
#define ENCODERS_PAD_B { B3 }
#define ENCODERS_PAD_A_RIGHT { F7 }
#define ENCODERS_PAD_B_RIGHT { F6 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

View File

@@ -4,6 +4,11 @@
"pid": "0x5256",
"device_version": "5.0.0"
},
"encoder": {
"rotary": [
{"pin_a": "B2", "pin_b": "B3"}
]
},
"backlight": {
"pin": "B5",
"levels": 5
@@ -15,7 +20,14 @@
"speaker": "C6"
},
"split": {
"soft_serial_pin": "D0"
"soft_serial_pin": "D0",
"encoder": {
"right": {
"rotary": [
{"pin_a": "F7", "pin_b": "F6"}
]
}
}
},
"processor": "atmega32u4",
"bootloader": "qmk-dfu"