[Keyboard] Code consistency updates for CRKBD (#15779)
Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
parent
ef091d39d2
commit
61246deec5
5 changed files with 40 additions and 28 deletions
|
@ -28,15 +28,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
// #define MASTER_RIGHT
|
// #define MASTER_RIGHT
|
||||||
// #define EE_HANDS
|
// #define EE_HANDS
|
||||||
|
|
||||||
#define USE_SERIAL_PD2
|
//#define TAPPING_FORCE_HOLD
|
||||||
|
//#define TAPPING_TERM 100
|
||||||
#define TAPPING_FORCE_HOLD
|
|
||||||
#define TAPPING_TERM 100
|
|
||||||
|
|
||||||
#ifdef RGBLIGHT_ENABLE
|
#ifdef RGBLIGHT_ENABLE
|
||||||
#undef RGBLED_NUM
|
#define RGBLIGHT_EFFECT_BREATHING
|
||||||
#define RGBLIGHT_ANIMATIONS
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
#define RGBLED_NUM 27
|
#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_LIMIT_VAL 120
|
#define RGBLIGHT_LIMIT_VAL 120
|
||||||
#define RGBLIGHT_HUE_STEP 10
|
#define RGBLIGHT_HUE_STEP 10
|
||||||
#define RGBLIGHT_SAT_STEP 17
|
#define RGBLIGHT_SAT_STEP 17
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
|
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||||
|
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
|
||||||
OLED_ENABLE = yes
|
OLED_ENABLE = yes
|
||||||
OLED_DRIVER = SSD1306
|
OLED_DRIVER = SSD1306
|
||||||
|
LTO_ENABLE = yes
|
||||||
|
|
|
@ -25,16 +25,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
// #define EE_HANDS
|
// #define EE_HANDS
|
||||||
|
|
||||||
#ifdef RGBLIGHT_ENABLE
|
#ifdef RGBLIGHT_ENABLE
|
||||||
# undef RGBLED_NUM
|
#define RGBLIGHT_EFFECT_BREATHING
|
||||||
# define RGBLIGHT_ANIMATIONS
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||||
# define RGBLED_NUM 54
|
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||||
# undef RGBLED_SPLIT
|
#define RGBLIGHT_EFFECT_SNAKE
|
||||||
# define RGBLED_SPLIT \
|
#define RGBLIGHT_EFFECT_KNIGHT
|
||||||
{ 27, 27 }
|
#define RGBLIGHT_EFFECT_CHRISTMAS
|
||||||
# define RGBLIGHT_LIMIT_VAL 120
|
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||||
# define RGBLIGHT_HUE_STEP 10
|
// #define RGBLIGHT_EFFECT_RGB_TEST
|
||||||
# define RGBLIGHT_SAT_STEP 17
|
// #define RGBLIGHT_EFFECT_ALTERNATING
|
||||||
# define RGBLIGHT_VAL_STEP 17
|
// #define RGBLIGHT_EFFECT_TWINKLE
|
||||||
|
#define RGBLIGHT_LIMIT_VAL 120
|
||||||
|
#define RGBLIGHT_HUE_STEP 10
|
||||||
|
#define RGBLIGHT_SAT_STEP 17
|
||||||
|
#define RGBLIGHT_VAL_STEP 17
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define OLED_FONT_H "keyboards/crkbd/lib/glcdfont.c"
|
#define OLED_FONT_H "keyboards/crkbd/lib/glcdfont.c"
|
||||||
|
|
|
@ -25,9 +25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define RGB_DI_PIN D3
|
#define RGB_DI_PIN D3
|
||||||
|
|
||||||
#ifdef RGBLIGHT_ENABLE
|
#ifdef RGBLIGHT_ENABLE
|
||||||
# define RGBLED_NUM 12 // Number of LEDs
|
# define RGBLED_NUM 54 // Number of LEDs
|
||||||
# define RGBLED_SPLIT \
|
# define RGBLED_SPLIT \
|
||||||
{ 6, 6 }
|
{ 27, 27 }
|
||||||
# define RGBLIGHT_SPLIT
|
# define RGBLIGHT_SPLIT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue