Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
parent
314f6c1ddb
commit
7e0299117b
972 changed files with 2898 additions and 2569 deletions
|
@ -19,11 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define MATRIX_ROW_PINS { D4, D7, E6, B4 }
|
||||
#define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6}
|
||||
|
||||
#define ENCODERS_PAD_A { F4, C6 }
|
||||
#define ENCODERS_PAD_B { F5, B5 }
|
||||
#define ENCODERS_PAD_A_RIGHT { F5, B5 }
|
||||
#define ENCODERS_PAD_B_RIGHT { F4, C6 }
|
||||
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
|
|
|
@ -8,8 +8,22 @@
|
|||
"pid": "0x25E3",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "F4", "pin_b": "F5"},
|
||||
{"pin_a": "C6", "pin_b": "B5"}
|
||||
]
|
||||
},
|
||||
"split": {
|
||||
"soft_serial_pin": "D2"
|
||||
"soft_serial_pin": "D2",
|
||||
"encoder": {
|
||||
"right": {
|
||||
"rotary": [
|
||||
{"pin_a": "F5", "pin_b": "F4"},
|
||||
{"pin_a": "B5", "pin_b": "C6"}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue