summaryrefslogtreecommitdiff
path: root/users/mechmerlin/config.h
blob: 3c45162bcccf7ae5019c45413d364b6913117837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#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)
    #define RGBLIGHT_ENABLE
    #define AUDIO_CLICKY
#elif defined(KEYBOARD_clueboard_66_hotswap_gen1)
    #define AUDIO_CLICKY
#else
    #define RGBLIGHT_ENABLE
#endif