mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-11 20:58:15 +06:00
35 lines
1.1 KiB
C
35 lines
1.1 KiB
C
|
// Copyright 2022 Yizhen Liu (@edwardslau)
|
||
|
// SPDX-License-Identifier: GPL-2.0
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#define RGB_DI_PIN B10
|
||
|
#define RGBLIGHT_LAYERS
|
||
|
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
|
||
|
#ifdef RGB_DI_PIN
|
||
|
#define RGBLED_NUM 1
|
||
|
#define RGBLIGHT_HUE_STEP 8
|
||
|
#define RGBLIGHT_SAT_STEP 8
|
||
|
#define RGBLIGHT_VAL_STEP 8
|
||
|
#define RGBLIGHT_LIMIT_VAL 200 /* 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_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_RGB_TEST
|
||
|
#define RGBLIGHT_EFFECT_ALTERNATING
|
||
|
#define RGBLIGHT_EFFECT_TWINKLE
|
||
|
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
|
||
|
#endif
|
||
|
|
||
|
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||
|
#define LOCKING_SUPPORT_ENABLE
|
||
|
/* Locking resynchronize hack */
|
||
|
#define LOCKING_RESYNC_ENABLE
|
||
|
|