diff options
Diffstat (limited to 'keyboards/massdrop/ctrl/config.h')
| -rw-r--r-- | keyboards/massdrop/ctrl/config.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/keyboards/massdrop/ctrl/config.h b/keyboards/massdrop/ctrl/config.h index 215a2e1b1..3dbd9b887 100644 --- a/keyboards/massdrop/ctrl/config.h +++ b/keyboards/massdrop/ctrl/config.h | |||
| @@ -32,18 +32,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 32 | #define MATRIX_ROWS 11 | 32 | #define MATRIX_ROWS 11 |
| 33 | #define MATRIX_COLS 8 | 33 | #define MATRIX_COLS 8 |
| 34 | 34 | ||
| 35 | #define MATRIX_ROW_PINS { B04, B05, B06, B07, B08, B09, A10, A11, B10, B11, B12 } | ||
| 36 | #define MATRIX_COL_PINS { A00, A01, A02, A03, A04, A05, A06, A07 } | ||
| 37 | #define UNUSED_PINS | ||
| 38 | |||
| 39 | /* COL2ROW, ROW2COL */ | ||
| 40 | #define DIODE_DIRECTION COL2ROW | ||
| 41 | |||
| 42 | /* Temporary solution for matrix delay */ | ||
| 43 | #define IGNORE_ATOMIC_BLOCK | ||
| 44 | |||
| 35 | /* MCU Port name definitions */ | 45 | /* MCU Port name definitions */ |
| 36 | #define PA 0 | 46 | #define PA 0 |
| 37 | #define PB 1 | 47 | #define PB 1 |
| 38 | 48 | ||
| 39 | /* Port and Pin definition of key row hardware configuration */ | ||
| 40 | #define MATRIX_ROW_PORTS PB, PB, PB, PB, PB, PB, PA, PA, PB, PB, PB | ||
| 41 | #define MATRIX_ROW_PINS 4, 5, 6, 7, 8, 9, 10, 11, 10, 11, 12 | ||
| 42 | |||
| 43 | /* Port and Pin definition of key column hardware configuration */ | ||
| 44 | #define MATRIX_COL_PORTS PA, PA, PA, PA, PA, PA, PA, PA | ||
| 45 | #define MATRIX_COL_PINS 0, 1, 2, 3, 4, 5, 6, 7 | ||
| 46 | |||
| 47 | /* This Shift Register expands available hardware output lines to control additional peripherals */ | 49 | /* This Shift Register expands available hardware output lines to control additional peripherals */ |
| 48 | /* It uses four lines from the MCU to provide 16 output lines */ | 50 | /* It uses four lines from the MCU to provide 16 output lines */ |
| 49 | /* Shift Register Clock configuration (MCU to ShiftRegister.RCLK) */ | 51 | /* Shift Register Clock configuration (MCU to ShiftRegister.RCLK) */ |
