From e7d4a1c2e6134cf40098de2020e2a3689711bc34 Mon Sep 17 00:00:00 2001 From: Kai Ryu Date: Wed, 14 Dec 2016 20:45:20 +0900 Subject: [PATCH] kimera: Change default row/col/matrix mapping --- keyboard/kimera/kimera.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/keyboard/kimera/kimera.c b/keyboard/kimera/kimera.c index 500437a8..470d84d5 100644 --- a/keyboard/kimera/kimera.c +++ b/keyboard/kimera/kimera.c @@ -26,24 +26,24 @@ along with this program. If not, see . static uint8_t row_mapping[PX_COUNT] = { 0, 1, 2, 3, 4, 5, 6, 7, - 32, 33, 34, 35, 36, 37, 38, 39, + UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED }; static uint8_t col_mapping[PX_COUNT] = { 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, - 40, 41, 42, 43, 44, 45, 46, 47, - 48, 49, 50, 51, 52, 53, 54, 55 + 24, 25, 26, 27, 28, 29, 30, 31, + UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED, UNCONFIGURED }; -static uint8_t row_count = 16; -static uint8_t col_count = 32; +static uint8_t row_count = 8; +static uint8_t col_count = 24; static uint8_t row_left_count = 8; -static uint8_t col_left_count = 16; +static uint8_t col_left_count = 24; static matrix_row_t col_left_mask; static uint8_t combining = COMBINING_NONE; static uint8_t data[EXP_COUNT][EXP_PORT_COUNT]; -static uint8_t exp_in_use = 0; +static uint8_t exp_in_use = 3; static uint8_t exp_online = 0; static uint8_t read_matrix_mapping(void);