diff options
Diffstat (limited to 'users/mechmerlin/config.h')
| -rw-r--r-- | users/mechmerlin/config.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/users/mechmerlin/config.h b/users/mechmerlin/config.h index 3d58c230a..3c45162bc 100644 --- a/users/mechmerlin/config.h +++ b/users/mechmerlin/config.h | |||
| @@ -1,5 +1,27 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | #ifdef RGBLIGHT_ENABLE | 3 | #ifdef RGBLIGHT_ENABLE |
| 4 | #define RGBLIGHT_SLEEP | 4 | #define RGBLIGHT_SLEEP |
| 5 | #define RGBLIGHT_ANIMATIONS | ||
| 5 | #endif // RGBLIGHT_ENABLE | 6 | #endif // RGBLIGHT_ENABLE |
| 7 | |||
| 8 | #ifdef AUDIO_CLICKY | ||
| 9 | #define AUDIO_CLICKY_ON | ||
| 10 | #define AUDIO_CLICKY_FREQ_DEFAULT 261.63f | ||
| 11 | #define AUDIO_CLICKY_FREQ_MIN 65.41f | ||
| 12 | #define AUDIO_CLICKY_FREQ_MAX 1046.5f | ||
| 13 | //#define AUDIO_CLICKY_FREQ_FACTOR 1.18921f | ||
| 14 | //#define AUDIO_CLICKY_FREQ_FACTOR 2.71828f // e | ||
| 15 | #define AUDIO_CLICKY_FREQ_FACTOR 1.61803f // golden ratio | ||
| 16 | #define AUDIO_CLICKY_FREQ_RANDOMNESS 17.0f | ||
| 17 | #endif | ||
| 18 | |||
| 19 | // Enable features depending on keyboard | ||
| 20 | #if defined(KEYBOARD_clueboard_66_hotswap_prototype) | ||
| 21 | #define RGBLIGHT_ENABLE | ||
| 22 | #define AUDIO_CLICKY | ||
| 23 | #elif defined(KEYBOARD_clueboard_66_hotswap_gen1) | ||
| 24 | #define AUDIO_CLICKY | ||
| 25 | #else | ||
| 26 | #define RGBLIGHT_ENABLE | ||
| 27 | #endif | ||
