2018-10-26 17:14:50 -07:00
|
|
|
#pragma once
|
|
|
|
|
2023-03-15 08:47:12 -07:00
|
|
|
#define TAP_CODE_DELAY 10
|
|
|
|
|
2018-10-26 17:14:50 -07:00
|
|
|
#ifdef RGBLIGHT_ENABLE
|
2019-02-28 11:37:34 -08:00
|
|
|
#define RGBLIGHT_SLEEP
|
2022-10-15 09:59:31 -07:00
|
|
|
#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
|
2018-10-26 17:14:50 -07:00
|
|
|
#endif // RGBLIGHT_ENABLE
|
2019-02-28 11:37:34 -08:00
|
|
|
|
2021-10-30 21:17:42 -07:00
|
|
|
#ifdef RGB_MATRIX_ENABLE
|
|
|
|
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
|
|
|
#endif
|
|
|
|
|
2019-02-28 11:37:34 -08:00
|
|
|
#ifdef AUDIO_CLICKY
|
|
|
|
#define AUDIO_CLICKY_ON
|
|
|
|
#define AUDIO_CLICKY_FREQ_DEFAULT 261.63f
|
|
|
|
#define AUDIO_CLICKY_FREQ_MIN 65.41f
|
|
|
|
#define AUDIO_CLICKY_FREQ_MAX 1046.5f
|
|
|
|
#define AUDIO_CLICKY_FREQ_FACTOR 1.61803f // golden ratio
|
|
|
|
#define AUDIO_CLICKY_FREQ_RANDOMNESS 17.0f
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Enable features depending on keyboard
|
|
|
|
#if defined(KEYBOARD_clueboard_66_hotswap_prototype)
|
2019-03-01 08:33:29 -08:00
|
|
|
#ifndef RGBLIGHT_ENABLE
|
|
|
|
#define RGBLIGHT_ENABLE
|
|
|
|
#endif
|
|
|
|
#ifndef AUDIO_CLICKY
|
|
|
|
#define AUDIO_CLICKY
|
|
|
|
#endif
|
2020-02-03 13:37:01 -08:00
|
|
|
#elif defined(KEYBOARD_clueboard_66_hotswap_gen1) || defined(KEYBOARD_clueboard_66_rev4)
|
2019-03-01 08:33:29 -08:00
|
|
|
#ifndef AUDIO_CLICKY
|
|
|
|
#define AUDIO_CLICKY
|
|
|
|
#endif
|
2019-02-28 11:37:34 -08:00
|
|
|
#endif
|