mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-13 21:30:47 +00:00
d48a5b29d7
* fix bug that enabled RGBLIGHT_ENABLE on all my boards regardless if it was supported or not * update changelog with new changes for 0.2.2
32 lines
871 B
C
32 lines
871 B
C
#pragma once
|
|
|
|
#ifdef RGBLIGHT_ENABLE
|
|
#define RGBLIGHT_SLEEP
|
|
#define RGBLIGHT_ANIMATIONS
|
|
#endif // RGBLIGHT_ENABLE
|
|
|
|
#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.18921f
|
|
//#define AUDIO_CLICKY_FREQ_FACTOR 2.71828f // e
|
|
#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)
|
|
#ifndef RGBLIGHT_ENABLE
|
|
#define RGBLIGHT_ENABLE
|
|
#endif
|
|
#ifndef AUDIO_CLICKY
|
|
#define AUDIO_CLICKY
|
|
#endif
|
|
#elif defined(KEYBOARD_clueboard_66_hotswap_gen1)
|
|
#ifndef AUDIO_CLICKY
|
|
#define AUDIO_CLICKY
|
|
#endif
|
|
#endif
|