mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-18 01:46:09 +00:00
74 lines
3.7 KiB
C
74 lines
3.7 KiB
C
|
/*
|
||
|
/ Copyright 2022 quarkeys
|
||
|
/ 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 DIODE_DIRECTION COL2ROW
|
||
|
|
||
|
#define MATRIX_ROW_PINS { E6, B3, C7, C6 }
|
||
|
#define MATRIX_COL_PINS { F4, F5, F6, F7, B6, B5, B4, D7, D6, D0, B1, B0 }
|
||
|
#define RGB_DI_PIN F1
|
||
|
#ifdef RGB_MATRIX_ENABLE
|
||
|
#define RGB_MATRIX_LED_COUNT 47
|
||
|
#define RGB_MATRIX_KEYPRESSES // Reacts to Keypresses
|
||
|
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||
|
#define RGB_DISABLE_WHEN_USB_SUSPENDED // Turn off effects when suspended
|
||
|
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 130 // Limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
|
||
|
#define RGB_MATRIX_SAT_STEP 8
|
||
|
#define RGB_MATRIX_VAL_STEP 8
|
||
|
#define RGB_MATRIX_SPD_STEP 10
|
||
|
|
||
|
// RGB_MATRIX effects
|
||
|
#define ENABLE_RGB_MATRIX_ALPHAS_MODS //Enables RGB_MATRIX_ALPHAS_MODS
|
||
|
#define ENABLE_RGB_MATRIX_BREATHING //Enables RGB_MATRIX_BREATHING
|
||
|
#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN //Enables RGB_MATRIX_CYCLE_UP_DOWN
|
||
|
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON //Enables RGB_MATRIX_RAINBOW_MOVING_CHEVRON
|
||
|
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN //Enables RGB_MATRIX_CYCLE_OUT_IN
|
||
|
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL //Enables RGB_MATRIX_CYCLE_OUT_IN_DUAL
|
||
|
#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL //Enables RGB_MATRIX_CYCLE_PINWHEEL
|
||
|
#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL //Enables RGB_MATRIX_CYCLE_SPIRAL
|
||
|
#define ENABLE_RGB_MATRIX_DUAL_BEACON //Enables RGB_MATRIX_DUAL_BEACON
|
||
|
#define ENABLE_RGB_MATRIX_RAINBOW_BEACON //Enables RGB_MATRIX_RAINBOW_BEACON
|
||
|
#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS //Enables RGB_MATRIX_RAINBOW_PINWHEELS
|
||
|
|
||
|
// RGB_MATRIX reactive effects
|
||
|
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue
|
||
|
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out
|
||
|
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out
|
||
|
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out
|
||
|
#define ENABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out
|
||
|
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out
|
||
|
#endif
|
||
|
|
||
|
#ifdef RGBLIGHT_ENABLE
|
||
|
#define RGBLED_NUM 47
|
||
|
#define RGBLIGHT_HUE_STEP 8
|
||
|
#define RGBLIGHT_SAT_STEP 8
|
||
|
#define RGBLIGHT_VAL_STEP 8
|
||
|
|
||
|
#define RGBLIGHT_EFFECT_BREATHING
|
||
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||
|
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||
|
#define RGBLIGHT_EFFECT_SNAKE
|
||
|
#define RGBLIGHT_EFFECT_KNIGHT
|
||
|
#define RGBLIGHT_EFFECT_CHRISTMAS
|
||
|
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||
|
#define RGBLIGHT_EFFECT_ALTERNATING
|
||
|
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
|
||
|
|
||
|
#define RGBLIGHT_LAYERS
|
||
|
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
|
||
|
#define RGBLIGHT_LIMIT_VAL 130
|
||
|
#define RGBLIGHT_SLEEP
|
||
|
#endif
|