qmk_firmware

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

config.h (1408B)


      1 /* Copyright 2023 Etienne Collin (@etiennecollin)
      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 3 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 <https://www.gnu.org/licenses/>.
     15  */
     16 
     17 #pragma once
     18 
     19 // Activate caps word by pressing Left Shift + Right Shift
     20 #define BOTH_SHIFTS_TURNS_ON_CAPS_WORD
     21 
     22 // Maximum time between taps of tap dances
     23 #define TAPPING_TERM 175
     24 
     25 // Max time between taps to prevent hold function and hold auto-repeat
     26 #define QUICK_TAP_TERM 100
     27 
     28 // Perform hold action if pressing a dual-role key, tapping another key and
     29 // releasing the dual-role key within tapping term
     30 #define PERMISSIVE_HOLD
     31 
     32 // Mouse key speed and acceleration.
     33 #define MOUSEKEY_DELAY 0
     34 #define MOUSEKEY_INTERVAL 16
     35 #define MOUSEKEY_WHEEL_DELAY 0
     36 #define MOUSEKEY_MAX_SPEED 6
     37 #define MOUSEKEY_TIME_TO_MAX 64
     38 
     39 // Thumb Combos
     40 #define COMBO_COUNT 2
     41 #define COMBO_TERM 200
     42 #define EXTRA_SHORT_COMBOS