1
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
972 changed files with 2898 additions and 2569 deletions

View file

@ -25,44 +25,6 @@
#define DIODE_DIRECTION COL2ROW
/* ROTARY ENCODERS */
/* 4 encoder positions are supported. With multiple
encoder support when using the extra pins of
Elite-C controller.
Use the following configuration guides for your
encoder layout. */
/* PRO MICRO CONFIGURATIONS */
/* If using a Pro Micro, only 1 encoder may be used,
and only in the top or bottom position.
Top and bottom encoders share the same net,
so there is only one configuration. */
/* TOP or BOTTOM */
// #define ENCODERS_PAD_A { C6 }
// #define ENCODERS_PAD_B { D4 }
/* ELITE-C ONLY CONFIGURATIONS */
/* TOP 3
Default configuration */
#define ENCODERS_PAD_A { C6 , B7, C7 }
#define ENCODERS_PAD_B { D4 , D5, F1 }
/* BOTTOM 3 */
// #define ENCODERS_PAD_A { B7, C7, C6 }
// #define ENCODERS_PAD_B { D5, F1, D4 }
/* BOTTOM 2 */
// #define ENCODERS_PAD_A { C7, C6 }
// #define ENCODERS_PAD_B { F1, D4 }
#define ENCODER_RESOLUTION 2
#ifdef LED_MATRIX_ENABLE
#define LED_DRIVER_ADDR_1 0x74