2022-10-29 03:28:55 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
/* Matrix config */
|
|
|
|
|
2023-01-15 04:35:08 +01:00
|
|
|
#define MATRIX_ROWS 5
|
2022-10-29 03:28:55 +02:00
|
|
|
#define MATRIX_COLS 12
|
|
|
|
|
2023-01-15 04:35:08 +01:00
|
|
|
#define MATRIX_ROW_PINS { E6, B4, B5, B2, NO_PIN }
|
2022-10-29 03:28:55 +02:00
|
|
|
#define MATRIX_COL_PINS { B3, B1, F7, F6, F5, F4, C6, D4, D0, D1, D2, D3 }
|
|
|
|
|
|
|
|
#define DIODE_DIRECTION ROW2COL
|
|
|
|
|
2023-01-15 04:35:08 +01:00
|
|
|
// Max 32
|
|
|
|
#define JOYSTICK_BUTTON_COUNT 0
|
|
|
|
// Max 6: X, Y, Z, Rx, Ry, Rz
|
2023-04-10 03:00:44 +02:00
|
|
|
#define JOYSTICK_AXIS_COUNT 2
|