diff options
author | skullydazed <skullydazed@users.noreply.github.com> | 2018-08-11 14:28:01 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-08-11 14:28:01 -0700 |
commit | 1cdef7cd2f4c2b6ad90c80215bf42fb3e66f0cee (patch) | |
tree | 1d2cd45cd9b999facd52db9292a8ee7ffb7ac78c | |
parent | acd276763177e7a288a24f4eb86b47f95207ab2f (diff) | |
download | qmk_firmware-1cdef7cd2f4c2b6ad90c80215bf42fb3e66f0cee.tar.gz qmk_firmware-1cdef7cd2f4c2b6ad90c80215bf42fb3e66f0cee.zip |
Keymap: Add fauxclicky support to my keymap (#3625)
-rw-r--r-- | layouts/community/66_ansi/skully/config.h | 12 | ||||
-rw-r--r-- | layouts/community/66_ansi/skully/keymap.c | 2 | ||||
-rw-r--r-- | layouts/community/66_ansi/skully/readme.md | 2 |
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 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #ifdef AUDIO_CLICKY | ||
4 | #define AUDIO_CLICKY_ON | ||
5 | #define AUDIO_CLICKY_FREQ_DEFAULT 261.63f | ||
6 | #define AUDIO_CLICKY_FREQ_MIN 65.41f | ||
7 | #define AUDIO_CLICKY_FREQ_MAX 1046.5f | ||
8 | //#define AUDIO_CLICKY_FREQ_FACTOR 1.18921f | ||
9 | //#define AUDIO_CLICKY_FREQ_FACTOR 2.71828f // e | ||
10 | #define AUDIO_CLICKY_FREQ_FACTOR 1.61803f // golden ratio | ||
11 | #define AUDIO_CLICKY_FREQ_RANDOMNESS 17.0f | ||
12 | #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] = { | |||
28 | */ | 28 | */ |
29 | [_CL] = LAYOUT_66_ansi( | 29 | [_CL] = LAYOUT_66_ansi( |
30 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,RGB_TOG, RGB_VAI, | 30 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,RGB_TOG, RGB_VAI, |
31 | _______, _______,_______,_______,RESET, _______,_______,_______,_______,_______,_______,_______,_______,_______, RGB_VAD, | 31 | CK_TOGG, _______,_______,_______,RESET, _______,_______,_______,_______,_______,_______,_______,_______,_______, RGB_VAD, |
32 | _______, _______,MO(_CL),_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, | 32 | _______, _______,MO(_CL),_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, |
33 | MO(_FL), _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, RGB_SAI, | 33 | MO(_FL), _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, RGB_SAI, |
34 | _______, _______, _______, RGB_MOD, _______, _______,_______, RGB_HUD,RGB_SAD,RGB_HUI), | 34 | _______, _______, _______, 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 @@ | |||
1 | # skullY's Clueboard Layout | 1 | # skullY's Clueboard Layout |
2 | 2 | ||
3 | This layout is what I (@skullydazed) use on my personal Clueboards. I mostly use it for programming, CAD, and general typing. | 3 | This layout is what I (@skullydazed) use on my personal Clueboards. I mostly use it for programming, CAD, and general typing. |
4 | |||
5 | 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. | ||