mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 19:40:29 +08:00
baf34989f1
* better rgb bindings; improve default * trim firmware size
43 lines
1.2 KiB
C
43 lines
1.2 KiB
C
#pragma once
|
|
|
|
#define LED_DISABLE_WHEN_USB_SUSPENDED
|
|
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
|
|
|
#ifdef RGBLIGHT_ENABLE
|
|
|
|
# define RGBLIGHT_LAYERS
|
|
# define RGBLIGHT_MAX_LAYERS 17
|
|
# define RGBLIGHT_LAYER_BLINK
|
|
# define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
|
|
# define RGBLIGHT_STARTUP_ANIMATION
|
|
|
|
# undef RGBLIGHT_ANIMATIONS
|
|
# 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_STATIC_GRADIENT
|
|
# define RGBLIGHT_EFFECT_TWINKLE
|
|
|
|
# define RGBLIGHT_DEFAULT_HUE 213
|
|
# define RGBLIGHT_DEFAULT_SAT UINT8_MAX
|
|
# define RGBLIGHT_DEFAULT_VAL RGBLIGHT_LIMIT_VAL / 2
|
|
|
|
# if defined(RGBLIGHT_EFFECT_TWINKLE)
|
|
# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_TWINKLE
|
|
# elif defined(RGBLIGHT_EFFECT_RAINBOW_MOOD)
|
|
# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
|
|
# else
|
|
# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_LIGHT
|
|
# endif
|
|
|
|
#endif
|
|
|
|
#define UNICODE_SELECTED_MODES UC_MAC, UC_LNX, UC_WINC
|
|
|
|
#define SPI_DEBUG_SCAN_RATE
|
|
|
|
#undef MANUFACTURER
|
|
#define MANUFACTURER Window of Fire
|