qmk_firmware

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

config.h (1207B)


      1 /*
      2 This is the c configuration file for the subproject
      3 
      4 Copyright 2012 Jun Wako <wakojun@gmail.com>
      5 Copyright 2015 Jack Humbert
      6 Copyright 2017 Art Ortenburger
      7 
      8 This program is free software: you can redistribute it and/or modify
      9 it under the terms of the GNU General Public License as published by
     10 the Free Software Foundation, either version 2 of the License, or
     11 (at your option) any later version.
     12 
     13 This program is distributed in the hope that it will be useful,
     14 but WITHOUT ANY WARRANTY; without even the implied warranty of
     15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     16 GNU General Public License for more details.
     17 
     18 You should have received a copy of the GNU General Public License
     19 along with this program.  If not, see <http://www.gnu.org/licenses/>.
     20 */
     21 
     22 #pragma once
     23 
     24 /* key combination for command */
     25 #define IS_COMMAND() ( \
     26     get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_LGUI)) \
     27 )
     28 
     29 /*
     30  * Feature disable options
     31  *  These options are also useful to firmware size reduction.
     32  */
     33 
     34 /* disable debug print */
     35 // #define NO_DEBUG
     36 
     37 /* disable print */
     38 // #define NO_PRINT
     39 
     40 /* disable action features */
     41 //#define NO_ACTION_LAYER
     42 //#define NO_ACTION_TAPPING
     43 //#define NO_ACTION_ONESHOT