qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

config.h (1637B)


      1 /* Copyright 2019 Mike Hix
      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 
     17 #pragma once
     18 
     19 #define MASTER_RIGHT
     20 
     21 #define PERMISSIVE_HOLD
     22 
     23 #define TAPPING_TERM 200
     24 
     25 #define MOUSEKEY_DELAY             20
     26 #define MOUSEKEY_INTERVAL          20
     27 #define MOUSEKEY_MAX_SPEED         10
     28 #define MOUSEKEY_TIME_TO_MAX       30
     29 #define MOUSEKEY_WHEEL_MAX_SPEED   8
     30 #define MOUSEKEY_WHEEL_TIME_TO_MAX 40
     31 
     32 #undef  RGBLIGHT_LED_COUNT
     33 #define RGBLIGHT_LED_COUNT 2
     34 #define RGBLED_SPLIT {1, 1}
     35 
     36 // Don't turn off lights when the host goes to sleep.
     37 #undef RGBLIGHT_SLEEP
     38 
     39 #define RGBLIGHT_HUE_STEP 8
     40 #define RGBLIGHT_SAT_STEP 8
     41 #define RGBLIGHT_VAL_STEP 8
     42 
     43 // Selectively enable animations to save on code size.
     44 #define RGBLIGHT_EFFECT_BREATHING
     45 #define RGBLIGHT_EFFECT_RAINBOW_MOOD
     46 #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
     47 
     48 #undef RGBLIGHT_EFFECT_SNAKE
     49 #undef RGBLIGHT_EFFECT_KNIGHT
     50 #undef RGBLIGHT_EFFECT_CHRISTMAS
     51 #undef RGBLIGHT_EFFECT_STATIC_GRADIENT
     52 #undef RGBLIGHT_EFFECT_RGB_TEST
     53 #undef RGBLIGHT_EFFECT_ALTERNATING
     54 #undef RGBLIGHT_EFFECT_TWINKLE