diff options
author | QMK Bot <hello@qmk.fm> | 2022-05-21 16:37:24 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-05-21 16:37:24 +0000 |
commit | f5b3f1254498be90f2fe63b394a008429098ca24 (patch) | |
tree | 91b47bd55c96ecc2831db9f20d93e3da52aa251c /keyboards/cantor/config.h | |
parent | afdf1c23dc0c4760741a068beb6c09605c66568e (diff) | |
parent | e6071b891af47c26ec13c94f094d53abe6ce924e (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/cantor/config.h')
-rw-r--r-- | keyboards/cantor/config.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/keyboards/cantor/config.h b/keyboards/cantor/config.h new file mode 100644 index 0000000000..650e06cf5e --- /dev/null +++ b/keyboards/cantor/config.h @@ -0,0 +1,46 @@ +// Copyright 2022 Diego Palacios (@diepala) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "config_common.h" + +/* key matrix size */ +#define MATRIX_ROWS 8 +#define MATRIX_COLS 6 + +#define DIRECT_PINS {{B1, B10, A8, B15, B14, B13}, \ + {B9, B8, B5, B4, B3, A15}, \ + {A3, A4, A5, A6, A7, B0}, \ + {A2, A1, A0, NO_PIN, NO_PIN, NO_PIN}} +#define DIRECT_PINS_RIGHT {{B13, B14, B15, A8, B10, B1}, \ + {A15, B3, B4, B5, B8, B9}, \ + {B0, A7, A6, A5, A4, A3}, \ + {A0, A1, A2, NO_PIN, NO_PIN, NO_PIN}} + +#define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode. +#define SERIAL_USART_TX_PIN B6 // USART TX pin +#define SERIAL_USART_RX_PIN B7 // USART RX pin + +/* Top left key on left half */ +#define BOOTMAGIC_LITE_ROW 0 +#define BOOTMAGIC_LITE_COLUMN 0 +/* Top right key on right half */ +#define BOOTMAGIC_LITE_ROW_RIGHT 4 +#define BOOTMAGIC_LITE_COLUMN_RIGHT 5 + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT |