2021-08-22 01:46:35 +02:00
|
|
|
/*
|
2021-08-12 16:45:42 +02:00
|
|
|
* Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
|
2022-07-25 11:11:28 +02:00
|
|
|
* Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly)
|
2021-08-12 16:45:42 +02:00
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2022-07-25 11:11:28 +02:00
|
|
|
|
2021-08-12 16:45:42 +02:00
|
|
|
|
2022-07-25 11:11:28 +02:00
|
|
|
/* Key matrix configuration. */
|
|
|
|
#define MATRIX_ROWS 8 // Rows are doubled-up.
|
2021-08-12 16:45:42 +02:00
|
|
|
#define MATRIX_COLS 5
|
|
|
|
|
|
|
|
#define DIODE_DIRECTION ROW2COL
|
|
|
|
|
2022-07-25 11:11:28 +02:00
|
|
|
/* Set 0 if debouncing isn't needed. */
|
2021-08-12 16:45:42 +02:00
|
|
|
#define DEBOUNCE 5
|
|
|
|
|
2022-07-25 11:11:28 +02:00
|
|
|
/* RGB settings. */
|
|
|
|
#define RGBLED_NUM 36
|
|
|
|
#define RGBLED_SPLIT \
|
|
|
|
{ 18, 18 }
|
2021-08-12 16:45:42 +02:00
|
|
|
|
2022-07-25 11:11:28 +02:00
|
|
|
/* RGB matrix support. */
|
2021-08-12 16:45:42 +02:00
|
|
|
#ifdef RGB_MATRIX_ENABLE
|
|
|
|
# define SPLIT_TRANSPORT_MIRROR
|
2022-09-23 14:46:23 +02:00
|
|
|
# define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
2022-07-25 11:11:28 +02:00
|
|
|
# define RGB_MATRIX_SPLIT RGBLED_SPLIT
|
2021-08-12 16:45:42 +02:00
|
|
|
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
|
2022-11-26 18:18:24 +01:00
|
|
|
# define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
2021-08-22 01:46:35 +02:00
|
|
|
# define RGB_DISABLE_WHEN_USB_SUSPENDED
|
2021-08-12 16:45:42 +02:00
|
|
|
# define RGB_MATRIX_KEYPRESSES
|
|
|
|
#endif
|