2019-10-12 06:44:38 +02:00
|
|
|
/*
|
|
|
|
Copyright 2019 mechmerlin
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
#define RGB_DI_PIN E2
|
|
|
|
#ifdef RGB_DI_PIN
|
|
|
|
#define RGBLED_NUM 10
|
|
|
|
#define RGBLIGHT_HUE_STEP 8
|
|
|
|
#define RGBLIGHT_SAT_STEP 8
|
|
|
|
#define RGBLIGHT_VAL_STEP 8
|
2021-08-09 20:32:35 +02:00
|
|
|
#define RGBLIGHT_LIMIT_VAL 180 // Limit to vendor-recommended value
|
2019-10-12 06:44:38 +02:00
|
|
|
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
|
|
|
|
#endif
|
2021-08-09 20:32:35 +02:00
|
|
|
#ifdef RGB_MATRIX_ENABLE
|
|
|
|
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 // Limit to vendor-recommended value
|
|
|
|
#endif
|