|
|
|
@ -40,9 +40,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
|
|
|
|
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
#define MATRIX_ROW_PINS { D1, D0, F4, F5 }
|
|
|
|
|
#define MATRIX_COL_PINS { D4, C6, F6, F7 }
|
|
|
|
|
*/
|
|
|
|
|
#define MATRIX_ROW_PINS \
|
|
|
|
|
{ D1, D0, F4, F5 }
|
|
|
|
|
#define MATRIX_COL_PINS \
|
|
|
|
|
{ D4, C6, F6, F7 }
|
|
|
|
|
#define UNUSED_PINS
|
|
|
|
|
|
|
|
|
|
/* COL2ROW, ROW2COL*/
|
|
|
|
@ -59,15 +61,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
#define RGB_DI_PIN D3
|
|
|
|
|
#ifdef RGB_DI_PIN
|
|
|
|
|
#define RGBLED_NUM 16 // Add 12 if attaching the RGB LED ring
|
|
|
|
|
#define RGBLIGHT_HUE_STEP 8
|
|
|
|
|
#define RGBLIGHT_SAT_STEP 8
|
|
|
|
|
#define RGBLIGHT_VAL_STEP 8
|
|
|
|
|
#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
|
|
|
|
|
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
|
|
|
|
|
/*== all animations enable ==*/
|
|
|
|
|
#define RGBLIGHT_ANIMATIONS
|
|
|
|
|
/*== or choose animations ==*/
|
|
|
|
|
# define RGBLED_NUM 16 // Add 12 if attaching the RGB LED ring
|
|
|
|
|
# define DRIVER_LED_TOTAL RGBLED_NUM
|
|
|
|
|
# ifdef RGBLIGHT_ENABLE
|
|
|
|
|
# define RGBLIGHT_HUE_STEP 8
|
|
|
|
|
# define RGBLIGHT_SAT_STEP 8
|
|
|
|
|
# define RGBLIGHT_VAL_STEP 8
|
|
|
|
|
# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
|
|
|
|
|
# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
|
|
|
|
|
/*== all animations enable ==*/
|
|
|
|
|
# define RGBLIGHT_ANIMATIONS
|
|
|
|
|
/*== or choose animations ==*/
|
|
|
|
|
// #define RGBLIGHT_EFFECT_BREATHING
|
|
|
|
|
// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
|
|
|
|
// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
|
|
|
@ -77,6 +81,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
|
|
|
|
// #define RGBLIGHT_EFFECT_RGB_TEST
|
|
|
|
|
// #define RGBLIGHT_EFFECT_ALTERNATING
|
|
|
|
|
# elif defined RGB_MATRIX_ENABLE
|
|
|
|
|
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
|
|
|
|
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS // reacts to keyreleases (instead of keypresses)
|
|
|
|
|
|
|
|
|
|
# endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
|
|
|
|