2018-10-27 02:14:50 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifdef RGBLIGHT_ENABLE
|
2019-02-28 20:37:34 +01:00
|
|
|
#define RGBLIGHT_SLEEP
|
|
|
|
#define RGBLIGHT_ANIMATIONS
|
2018-10-27 02:14:50 +02:00
|
|
|
#endif // RGBLIGHT_ENABLE
|
2019-02-28 20:37:34 +01:00
|
|
|
|
2021-10-31 05:17:42 +01:00
|
|
|
#ifdef RGB_MATRIX_ENABLE
|
|
|
|
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
|
|
|
#endif
|
|
|
|
|
2019-02-28 20:37:34 +01: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 17:33:29 +01:00
|
|
|
#ifndef RGBLIGHT_ENABLE
|
|
|
|
#define RGBLIGHT_ENABLE
|
|
|
|
#endif
|
|
|
|
#ifndef AUDIO_CLICKY
|
|
|
|
#define AUDIO_CLICKY
|
|
|
|
#endif
|
2020-02-03 22:37:01 +01:00
|
|
|
#elif defined(KEYBOARD_clueboard_66_hotswap_gen1) || defined(KEYBOARD_clueboard_66_rev4)
|
2019-03-01 17:33:29 +01:00
|
|
|
#ifndef AUDIO_CLICKY
|
|
|
|
#define AUDIO_CLICKY
|
|
|
|
#endif
|
2019-02-28 20:37:34 +01:00
|
|
|
#endif
|