Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -21,11 +21,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define MATRIX_ROW_PINS { B13, B14, A8, A1, A0 }
|
||||
#define MATRIX_COL_PINS { B11, B12, B10, B2, B1, B0, A7, A6, A5, A4, A3, A2, B3, A15, B5 }
|
||||
|
||||
// Number of encoders
|
||||
|
||||
#define ENCODERS_PAD_A { B4, B6 }
|
||||
#define ENCODERS_PAD_B { B8, B9 }
|
||||
|
||||
|
||||
#define ENCODER_RESOLUTION 4
|
||||
#define TAP_CODE_DELAY 10
|
@@ -8,6 +8,12 @@
|
||||
"pid": "0x6601",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B4", "pin_b": "B8"},
|
||||
{"pin_a": "B6", "pin_b": "B9"}
|
||||
]
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "C14"
|
||||
},
|
||||
|
Reference in New Issue
Block a user