Remove the need to specify NUM_OF_ENCODERS for the Encoder feature (#6328)
* Remove the need to set NUM_OF_ENCODERS Instead, calculate the size of the array, and use that instead * Add hack for split common support * Remove NUM_OF_ENCODERS from keyboard config Can be reverted, if needed
This commit is contained in:
committed by
skullydazed
parent
97a3f806c4
commit
f6c7e11426
@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7 }
|
||||
|
||||
// Encoder support
|
||||
#define NUMBER_OF_ENCODERS 1
|
||||
#define ENCODERS_PAD_A { D2 }
|
||||
#define ENCODERS_PAD_B { D6 }
|
||||
|
||||
|
@@ -41,8 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define MATRIX_ROW_PINS { C6, E6, B5, D7, B4 }
|
||||
#define MATRIX_COL_PINS { F4, F5, F6, F7, B3, B1, B2 }
|
||||
|
||||
#define NUMBER_OF_ENCODERS 1
|
||||
|
||||
#define ENCODERS_PAD_A { D4 }
|
||||
#define ENCODERS_PAD_B { D2 }
|
||||
|
||||
|
@@ -40,7 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define SOFT_SERIAL_PIN D3
|
||||
|
||||
#define NUMBER_OF_ENCODERS 1
|
||||
#define ENCODERS_PAD_A { D2 }
|
||||
#define ENCODERS_PAD_B { D7 }
|
||||
|
||||
|
Reference in New Issue
Block a user