diff options
Diffstat (limited to 'users/brandonschlack/config.h')
| -rw-r--r-- | users/brandonschlack/config.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/users/brandonschlack/config.h b/users/brandonschlack/config.h new file mode 100644 index 000000000..8f09adef3 --- /dev/null +++ b/users/brandonschlack/config.h | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | /* Copyright 2020 Brandon Schlack | ||
| 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 | |||
| 18 | #define TAPPING_TOGGLE 2 | ||
| 19 | #define TAPPING_TERM 200 | ||
| 20 | #define PERMISSIVE_HOLD | ||
| 21 | #define TAP_HOLD_CAPS_DELAY 200 | ||
| 22 | |||
| 23 | #ifdef RGBLIGHT_ENABLE | ||
| 24 | # define RGBLIGHT_SLEEP | ||
| 25 | #endif | ||
| 26 | |||
| 27 | #if defined(RGBLIGHT_ENABLE) || defined(RGB_MATRIX_ENABLE) && !defined(RGBLIGHT_LAYERS) | ||
| 28 | # define RGB_THEME_ENABLE | ||
| 29 | #endif | ||
| 30 | |||
| 31 | #ifdef RGB_THEME_ENABLE | ||
| 32 | # define DISABLE_RGB_THEME_JAMON | ||
| 33 | # define DISABLE_RGB_THEME_OBLIQUE | ||
| 34 | #endif | ||
| 35 | |||
| 36 | #ifdef ENCODER_ENABLE | ||
| 37 | # define TAP_CODE_DELAY 10 | ||
| 38 | #else | ||
| 39 | # define TAP_CODE_DELAY 5 | ||
| 40 | #endif | ||
| 41 | |||
| 42 | /* Disable unused and unneeded features to reduce on firmware size */ | ||
| 43 | #ifndef NO_ACTION_MACRO | ||
| 44 | # define NO_ACTION_MACRO | ||
| 45 | #endif | ||
| 46 | #ifndef NO_ACTION_FUNCTION | ||
| 47 | # define NO_ACTION_FUNCTION | ||
| 48 | #endif | ||
| 49 | |||
| 50 | #ifdef LOCKING_SUPPORT_ENABLE | ||
| 51 | # undef LOCKING_SUPPORT_ENABLE | ||
| 52 | #endif | ||
| 53 | #ifdef LOCKING_RESYNC_ENABLE | ||
| 54 | # undef LOCKING_RESYNC_ENABLE | ||
| 55 | #endif | ||
