9470468ede
* Enable remapping Libra Mini joystick as keys * Move config to default keycap so make passes
22 lines
452 B
C
22 lines
452 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
/* Matrix config */
|
|
|
|
#define MATRIX_ROWS 5
|
|
#define MATRIX_COLS 12
|
|
|
|
#define MATRIX_ROW_PINS { E6, B4, B5, B2, NO_PIN }
|
|
#define MATRIX_COL_PINS { B3, B1, F7, F6, F5, F4, C6, D4, D0, D1, D2, D3 }
|
|
|
|
#define DIODE_DIRECTION ROW2COL
|
|
|
|
// Max 32
|
|
#define JOYSTICK_BUTTON_COUNT 0
|
|
// Max 6: X, Y, Z, Rx, Ry, Rz
|
|
#define JOYSTICK_AXES_COUNT 2
|
|
|
|
/* Use 1000hz polling */
|
|
#define USB_POLLING_INTERVAL_MS 1
|