diff options
| author | Seth Barberee <seth.barberee@gmail.com> | 2021-05-08 10:26:51 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-08 10:26:51 -0700 |
| commit | b7fe24923e29218b15233163d9fe0ac5f332d3fc (patch) | |
| tree | 442ad0be96649a8031e12be9006d6e307ec2f98a /users/sethBarberee/config.h | |
| parent | 067a6f017477938f965b1c4af4dace288d906730 (diff) | |
| download | qmk_firmware-b7fe24923e29218b15233163d9fe0ac5f332d3fc.tar.gz qmk_firmware-b7fe24923e29218b15233163d9fe0ac5f332d3fc.zip | |
Update sethBarberee Userspace (#12620)
* update for LTO and guard RGBLED_SPLIT
* Revert "update for LTO and guard RGBLED_SPLIT"
This reverts commit ce81177cbe330ae3e1e14c264dc0cb0946f08d70.
* Revert "Revert "update for LTO and guard RGBLED_SPLIT""
This reverts commit 67da0ce9f38777064ad094c1ecba7ce17a40994f.
* update iris keymap for keymap_kc removal and overhaul userspace
* add licenses
* fix tap_dance error when rgblight is disabled and update/clean iris/sinc maps
Diffstat (limited to 'users/sethBarberee/config.h')
| -rw-r--r-- | users/sethBarberee/config.h | 69 |
1 files changed, 65 insertions, 4 deletions
diff --git a/users/sethBarberee/config.h b/users/sethBarberee/config.h index a849ac0e7..785c7bc88 100644 --- a/users/sethBarberee/config.h +++ b/users/sethBarberee/config.h | |||
| @@ -1,8 +1,69 @@ | |||
| 1 | /* Copyright 2021 SethBarberee <seth.barberee@gmail.com> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 1 | #ifdef RGBLIGHT_ENABLE | 18 | #ifdef RGBLIGHT_ENABLE |
| 2 | # ifndef CAPS_LOCK_MODE | 19 | # define RGBLIGHT_SLEEP |
| 3 | # define CAPS_LOCK_MODE 1 | 20 | # ifndef RGBLIGHT_HUE_STEP |
| 21 | # define RGBLIGHT_HUE_STEP 8 | ||
| 22 | #endif | ||
| 23 | # ifndef RGBLIGHT_SAT_STEPT | ||
| 24 | # define RGBLIGHT_SAT_STEP 8 | ||
| 25 | #endif | ||
| 26 | # ifndef RGBLIGHT_VAL_STEP | ||
| 27 | # define RGBLIGHT_VAL_STEP 8 | ||
| 28 | #endif | ||
| 29 | // Trim animations I don't use/like | ||
| 30 | # ifdef RGBLIGHT_ANIMATIONS | ||
| 31 | # undef RGBLIGHT_ANIMATIONS | ||
| 4 | # endif | 32 | # endif |
| 5 | # ifndef NORMAL_MODE | 33 | # define RGBLIGHT_EFFECT_BREATHING |
| 6 | # define NORMAL_MODE 4 | 34 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT |
| 35 | # define RGBLIGHT_EFFECT_TWINKLE | ||
| 36 | # ifndef CAPS_LOCK_MODE | ||
| 37 | # define CAPS_LOCK_MODE RGBLIGHT_MODE_STATIC_LIGHT | ||
| 7 | # endif | 38 | # endif |
| 39 | #endif // RGBLIGHT_ENABLE | ||
| 40 | |||
| 41 | #ifndef AUDIO_ENABLE | ||
| 42 | # define NO_MUSIC_MODE | ||
| 43 | #endif // AUDIO_ENABLE | ||
| 44 | |||
| 45 | #define FORCE_NKRO // Force NKRO on by default | ||
| 46 | |||
| 47 | // Totally taken from @drashna's userspace | ||
| 48 | #ifdef TAPPING_TERM | ||
| 49 | # undef TAPPING_TERM | ||
| 50 | #endif // TAPPING_TERM | ||
| 51 | // | ||
| 52 | // Keeping these commented for examples when I want to tweak per keyboard | ||
| 53 | // but setting a default across my boards for now | ||
| 54 | // | ||
| 55 | //#if defined(KEYBOARD_ergodox_ez) | ||
| 56 | //# define TAPPING_TERM 185 | ||
| 57 | #if defined(KEYBOARD_crkbd) | ||
| 58 | # define TAPPING_TERM 185 | ||
| 59 | #else | ||
| 60 | # define TAPPING_TERM 200 | ||
| 61 | #endif | ||
| 62 | |||
| 63 | /* Disable unused and unneeded features to reduce on firmware size */ | ||
| 64 | #ifdef LOCKING_SUPPORT_ENABLE | ||
| 65 | # undef LOCKING_SUPPORT_ENABLE | ||
| 66 | #endif | ||
| 67 | #ifdef LOCKING_RESYNC_ENABLE | ||
| 68 | # undef LOCKING_RESYNC_ENABLE | ||
| 8 | #endif | 69 | #endif |
