summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--layouts/community/66_ansi/mechmerlin/config.h12
-rw-r--r--layouts/community/66_ansi/mechmerlin/keymap.c2
2 files changed, 13 insertions, 1 deletions
diff --git a/layouts/community/66_ansi/mechmerlin/config.h b/layouts/community/66_ansi/mechmerlin/config.h
new file mode 100644
index 0000000000..f51361866c
--- /dev/null
+++ b/layouts/community/66_ansi/mechmerlin/config.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#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
diff --git a/layouts/community/66_ansi/mechmerlin/keymap.c b/layouts/community/66_ansi/mechmerlin/keymap.c
index 9baf238c73..b8142f9674 100644
--- a/layouts/community/66_ansi/mechmerlin/keymap.c
+++ b/layouts/community/66_ansi/mechmerlin/keymap.c
@@ -30,7 +30,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_CL] = LAYOUT_66_ansi(
BL_STEP,RGB_M_P,RGB_M_B,RGB_M_R,RGB_M_SW,RGB_M_SN,RGB_M_K,RGB_M_X,RGB_M_G,_______,_______,_______,_______, _______, RGB_VAI, \
RGB_TOG,_______,_______,_______,RESET, _______,_______,_______,_______,_______,_______,_______,_______,_______, RGB_VAD, \
- _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, \
+ CK_TOGG,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, \
_______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, RGB_SAI, \
_______,_______,_______, RGB_MOD, _______,_______,_______,RGB_HUD,RGB_SAD,RGB_HUI),
};