diff options
| author | Nick Blyumberg <nblyumberg@gmail.com> | 2020-09-14 21:15:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-14 18:15:25 -0700 |
| commit | b58f9ef1e29c1de848f8896078111e55d6d62a65 (patch) | |
| tree | 20350a6b1d3f0b1a8bac60157006b0a9d8a25b9d /keyboards/hub16/keymaps/ahk_companion/config.h | |
| parent | 02551ae4991d818adb824fe39a82437281ee5306 (diff) | |
| download | qmk_firmware-b58f9ef1e29c1de848f8896078111e55d6d62a65.tar.gz qmk_firmware-b58f9ef1e29c1de848f8896078111e55d6d62a65.zip | |
[Keymap] Hub16 AutoHotKey Companion (#10159)
* Hub16 AutoHotKey Companion
* Revised after PR comments by Drashna
* Update keyboards/hub16/keymaps/ahk_companion/readme.md
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/hub16/keymaps/ahk_companion/readme.md
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/hub16/keymaps/ahk_companion/readme.md
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/hub16/keymaps/ahk_companion/readme.md
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/hub16/keymaps/ahk_companion/readme.md
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/hub16/keymaps/ahk_companion/keymap.c
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/hub16/keymaps/ahk_companion/config.h')
| -rw-r--r-- | keyboards/hub16/keymaps/ahk_companion/config.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/keyboards/hub16/keymaps/ahk_companion/config.h b/keyboards/hub16/keymaps/ahk_companion/config.h new file mode 100644 index 000000000..aa9e081c7 --- /dev/null +++ b/keyboards/hub16/keymaps/ahk_companion/config.h | |||
| @@ -0,0 +1,57 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Josh Johnson | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 21 | // /*== all animations enable ==*/ | ||
| 22 | // #define RGBLIGHT_ANIMATIONS | ||
| 23 | // /*== or choose animations ==*/ | ||
| 24 | // #define RGBLIGHT_EFFECT_BREATHING | ||
| 25 | // #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 26 | // #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 27 | // #define RGBLIGHT_EFFECT_SNAKE | ||
| 28 | // #define RGBLIGHT_EFFECT_KNIGHT | ||
| 29 | // #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 30 | // #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 31 | // #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 32 | // #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 33 | // /*== customize breathing effect ==*/ | ||
| 34 | // /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
| 35 | // #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
| 36 | // /*==== use exp() and sin() ====*/ | ||
| 37 | // #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
| 38 | // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
| 39 | // #endif | ||
| 40 | |||
| 41 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 42 | #define DEBOUNCE 20 | ||
| 43 | |||
| 44 | // Time out one shot layers after 3 seconds | ||
| 45 | #define ONESHOT_TIMEOUT 3000 | ||
| 46 | |||
| 47 | // Undef and redefine default brightness to half of 255 | ||
| 48 | #undef RGBLIGHT_LIMIT_VAL | ||
| 49 | #define RGBLIGHT_LIMIT_VAL 255 | ||
| 50 | |||
| 51 | //Define a preview timeout for RGB reviews | ||
| 52 | #define PREVIEW_TIMEOUT 5000 | ||
| 53 | |||
| 54 | // Enable Light Layers implementation | ||
| 55 | #define RGBLIGHT_LAYERS | ||
| 56 | // Allow Light Layers to override RGB off configuration | ||
| 57 | #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF | ||
