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
|
@ -8,8 +8,20 @@
|
|||
"pid": "0x0001",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "F0", "pin_b": "F1"}
|
||||
]
|
||||
},
|
||||
"split": {
|
||||
"soft_serial_pin": "E6"
|
||||
"soft_serial_pin": "E6",
|
||||
"encoder": {
|
||||
"right": {
|
||||
"rotary": [
|
||||
{"pin_a": "F6", "pin_b": "F7"}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
|
|
|
@ -36,12 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define MATRIX_ROW_PINS_RIGHT { B3, B7, D4, B6, C6, C7 }
|
||||
#define MATRIX_COL_PINS_RIGHT { D6, D7, D3, B2, B1, B0 }
|
||||
|
||||
#define ENCODERS_PAD_A { F0 }
|
||||
#define ENCODERS_PAD_B { F1 }
|
||||
#define ENCODERS_PAD_A_RIGHT { F6 }
|
||||
#define ENCODERS_PAD_B_RIGHT { F7 }
|
||||
|
||||
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue