aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/community/66_ansi/skully
diff options
context:
space:
mode:
authorGravatar skullydazed <skullydazed@users.noreply.github.com>2018-08-11 14:28:01 -0700
committerGravatar Drashna Jaelre <drashna@live.com>2018-08-11 14:28:01 -0700
commit1cdef7cd2f4c2b6ad90c80215bf42fb3e66f0cee (patch)
tree1d2cd45cd9b999facd52db9292a8ee7ffb7ac78c /layouts/community/66_ansi/skully
parentacd276763177e7a288a24f4eb86b47f95207ab2f (diff)
downloadqmk_firmware-1cdef7cd2f4c2b6ad90c80215bf42fb3e66f0cee.tar.gz
Keymap: Add fauxclicky support to my keymap (#3625)
Diffstat (limited to 'layouts/community/66_ansi/skully')
-rw-r--r--layouts/community/66_ansi/skully/config.h12
-rw-r--r--layouts/community/66_ansi/skully/keymap.c2
-rw-r--r--layouts/community/66_ansi/skully/readme.md2
3 files changed, 15 insertions, 1 deletions
diff --git a/layouts/community/66_ansi/skully/config.h b/layouts/community/66_ansi/skully/config.h
new file mode 100644
index 000000000..f51361866
--- /dev/null
+++ b/layouts/community/66_ansi/skully/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/skully/keymap.c b/layouts/community/66_ansi/skully/keymap.c
index 053388653..9337cfe02 100644
--- a/layouts/community/66_ansi/skully/keymap.c
+++ b/layouts/community/66_ansi/skully/keymap.c
@@ -28,7 +28,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
*/
[_CL] = LAYOUT_66_ansi(
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,RGB_TOG, RGB_VAI,
- _______, _______,_______,_______,RESET, _______,_______,_______,_______,_______,_______,_______,_______,_______, RGB_VAD,
+ CK_TOGG, _______,_______,_______,RESET, _______,_______,_______,_______,_______,_______,_______,_______,_______, RGB_VAD,
_______, _______,MO(_CL),_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
MO(_FL), _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, RGB_SAI,
_______, _______, _______, RGB_MOD, _______, _______,_______, RGB_HUD,RGB_SAD,RGB_HUI),
diff --git a/layouts/community/66_ansi/skully/readme.md b/layouts/community/66_ansi/skully/readme.md
index 63793b9ba..ad1a1e458 100644
--- a/layouts/community/66_ansi/skully/readme.md
+++ b/layouts/community/66_ansi/skully/readme.md
@@ -1,3 +1,5 @@
# skullY's Clueboard Layout
This layout is what I (@skullydazed) use on my personal Clueboards. I mostly use it for programming, CAD, and general typing.
+
+On boards with audio I have faux-clicky enabled. I've tuned it to values I find pleasing, they kinda remind me of the "talking" in Mike Tyson's Punch Out.