qmk_firmware

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

config.h (1825B)


      1 /*
      2 This is the c configuration file for the keymap
      3 
      4 Copyright 2012 Jun Wako <wakojun@gmail.com>
      5 Copyright 2015 Jack Humbert
      6 
      7 This program is free software: you can redistribute it and/or modify
      8 it under the terms of the GNU General Public License as published by
      9 the Free Software Foundation, either version 2 of the License, or
     10 (at your option) any later version.
     11 
     12 This program is distributed in the hope that it will be useful,
     13 but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 GNU General Public License for more details.
     16 
     17 You should have received a copy of the GNU General Public License
     18 along with this program.  If not, see <http://www.gnu.org/licenses/>.
     19 */
     20 
     21 #pragma once
     22 
     23 // place overrides here
     24 #define TAPPING_TERM 200
     25 
     26 #define TAPPING_LAYER_TERM 150 // Custom LT Tapping term
     27 #define TAPPING_TERM_PER_KEY
     28 
     29 #ifdef MOUSEKEY_ENABLE
     30   #undef MOUSEKEY_INTERVAL
     31   #define MOUSEKEY_INTERVAL 1
     32 
     33   #undef MOUSEKEY_TIME_TO_MAX
     34   #define MOUSEKEY_TIME_TO_MAX 150
     35 
     36   #undef MOUSEKEY_MAX_SPEED
     37   #define MOUSEKEY_MAX_SPEED 3
     38 
     39   #undef MOUSEKEY_MOVE_DELTA
     40   #define MOUSEKEY_MOVE_DELTA 4
     41 
     42   #undef MOUSEKEY_DELAY
     43   #define MOUSEKEY_DELAY 0
     44 #endif
     45 
     46 // Selection of RGBLIGHT MODE to use.
     47 #if defined(LED_ANIMATIONS)
     48    //#define RGBLIGHT_EFFECT_BREATHING
     49    #define RGBLIGHT_EFFECT_RAINBOW_MOOD
     50    #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
     51    //#define RGBLIGHT_EFFECT_SNAKE
     52    #define RGBLIGHT_EFFECT_KNIGHT
     53    //#define RGBLIGHT_EFFECT_CHRISTMAS
     54    #define RGBLIGHT_EFFECT_STATIC_GRADIENT
     55    //#define RGBLIGHT_EFFECT_RGB_TEST
     56    //#define RGBLIGHT_EFFECT_ALTERNATING
     57 #endif
     58 
     59 // LED Setting: if you have KUMO you can use RGBLIGHT_ENABLE = yes
     60 #ifdef RGBLIGHT_ENABLE
     61   #define WS2812_DI_PIN B5
     62   #define RGBLIGHT_TIMER
     63 
     64   #define RGBLIGHT_LED_COUNT 6
     65 #endif