|
|
@ -41,8 +41,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
|
|
|
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#define MATRIX_ROW_PINS { D1, D0, F4, F5 }
|
|
|
|
#define MATRIX_ROW_PINS \
|
|
|
|
#define MATRIX_COL_PINS { D4, C6, F6, F7 }
|
|
|
|
{ D1, D0, F4, F5 }
|
|
|
|
|
|
|
|
#define MATRIX_COL_PINS \
|
|
|
|
|
|
|
|
{ D4, C6, F6, F7 }
|
|
|
|
#define UNUSED_PINS
|
|
|
|
#define UNUSED_PINS
|
|
|
|
|
|
|
|
|
|
|
|
/* COL2ROW, ROW2COL*/
|
|
|
|
/* COL2ROW, ROW2COL*/
|
|
|
@ -60,6 +62,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#define RGB_DI_PIN D3
|
|
|
|
#define RGB_DI_PIN D3
|
|
|
|
#ifdef RGB_DI_PIN
|
|
|
|
#ifdef RGB_DI_PIN
|
|
|
|
# define RGBLED_NUM 16 // Add 12 if attaching the RGB LED ring
|
|
|
|
# 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_HUE_STEP 8
|
|
|
|
# define RGBLIGHT_SAT_STEP 8
|
|
|
|
# define RGBLIGHT_SAT_STEP 8
|
|
|
|
# define RGBLIGHT_VAL_STEP 8
|
|
|
|
# define RGBLIGHT_VAL_STEP 8
|
|
|
@ -77,6 +81,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
|
|
|
// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
|
|
|
// #define RGBLIGHT_EFFECT_RGB_TEST
|
|
|
|
// #define RGBLIGHT_EFFECT_RGB_TEST
|
|
|
|
// #define RGBLIGHT_EFFECT_ALTERNATING
|
|
|
|
// #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
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
|
|
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
|
|
|