]> git.donarmstrong.com Git - qmk_firmware.git/blob - users/mechmerlin/config.h
Update KBD67 readme so that it mentions the KBD65 PCB (#5143)
[qmk_firmware.git] / users / mechmerlin / config.h
1 #pragma once
2
3 #ifdef RGBLIGHT_ENABLE
4     #define RGBLIGHT_SLEEP
5     #define RGBLIGHT_ANIMATIONS
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     #ifndef RGBLIGHT_ENABLE
22         #define RGBLIGHT_ENABLE
23     #endif
24
25     #ifndef AUDIO_CLICKY
26         #define AUDIO_CLICKY
27     #endif
28
29 #elif defined(KEYBOARD_clueboard_66_hotswap_gen1)
30     #ifndef AUDIO_CLICKY
31         #define AUDIO_CLICKY
32     #endif
33 #else
34     #ifndef RGBLIGHT_ENABLE
35         #define RGBLIGHT_ENABLE
36     #endif
37 #endif