qmk_firmware

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

config.h (1371B)


      1 /*
      2 Copyright 2017 Balz Guenat
      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 
     20 /* key matrix size */
     21 #define MATRIX_ROWS 8
     22 #define MATRIX_COLS 16
     23 
     24 /*
     25  * Feature disable options
     26  *  These options are also useful to firmware size reduction.
     27  */
     28 
     29 /* disable debug print */
     30 //#define NO_DEBUG
     31 
     32 /* disable print */
     33 //#define NO_PRINT
     34 
     35 /* disable action features */
     36 //#define NO_ACTION_LAYER
     37 //#define NO_ACTION_TAPPING
     38 //#define NO_ACTION_ONESHOT
     39 
     40 // higher value means deeper actuation point, less sensitive
     41 // be careful and only make small adjustments (steps of 1 or 2).
     42 // too high and keys will fail to actuate. too low and keys will actuate spontaneously.
     43 // test all keys before further adjustment.
     44 // this should probably stay in the range +/-5.
     45 // #define ACTUATION_DEPTH_ADJUSTMENT 0