config.h (2150B)
1 /* 2 Copyright 2020 Pierre Chevalier <pierrechevalier83@gmail.com> 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 // Set the mouse settings to a comfortable speed/accuracy trade-off, 20 // assuming a screen refresh rate of 60 Htz or higher 21 // The default is 50. This makes the mouse ~3 times faster and more accurate 22 #define MOUSEKEY_INTERVAL 16 23 // The default is 20. Since we made the mouse about 3 times faster with the previous setting, 24 // give it more time to accelerate to max speed to retain precise control over short distances. 25 #define MOUSEKEY_TIME_TO_MAX 40 26 // The default is 300. Let's try and make this as low as possible while keeping the cursor responsive 27 #define MOUSEKEY_DELAY 100 28 // It makes sense to use the same delay for the mouseweel 29 #define MOUSEKEY_WHEEL_DELAY 100 30 // The default is 100 31 #define MOUSEKEY_WHEEL_INTERVAL 50 32 // The default is 40 33 #define MOUSEKEY_WHEEL_TIME_TO_MAX 100 34 35 // Pick good defaults for enabling homerow modifiers 36 #define TAPPING_TERM 200 37 #define PERMISSIVE_HOLD 38 #define QUICK_TAP_TERM 0 39 40 // Underglow configuration 41 #ifdef RGBLIGHT_ENABLE 42 # define RGBLIGHT_EFFECT_BREATHING 43 # define RGBLIGHT_EFFECT_RAINBOW_MOOD 44 # define RGBLIGHT_EFFECT_RAINBOW_SWIRL 45 # define RGBLIGHT_EFFECT_SNAKE 46 # define RGBLIGHT_EFFECT_KNIGHT 47 # define RGBLIGHT_EFFECT_CHRISTMAS 48 # define RGBLIGHT_EFFECT_STATIC_GRADIENT 49 # define RGBLIGHT_EFFECT_RGB_TEST 50 # define RGBLIGHT_EFFECT_ALTERNATING 51 # define RGBLIGHT_EFFECT_TWINKLE 52 # define RGBLIGHT_HUE_STEP 8 53 # define RGBLIGHT_SAT_STEP 8 54 # define RGBLIGHT_VAL_STEP 8 55 #endif