qmk_firmware

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

config.h (1791B)


      1 /* Copyright 2018 Jason Williams (Wilba)
      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 /*
     20  * Feature disable options
     21  *  These options are also useful to firmware size reduction.
     22  */
     23 
     24 /* disable debug print */
     25 //#define NO_DEBUG
     26 
     27 /* disable print */
     28 //#define NO_PRINT
     29 
     30 /* disable action features */
     31 //#define NO_ACTION_LAYER
     32 //#define NO_ACTION_TAPPING
     33 //#define NO_ACTION_ONESHOT
     34 
     35 // enable the mono backlight
     36 #define MONO_BACKLIGHT_ENABLED 1
     37 
     38 // enable the RGB indicator for WT75-A
     39 #define MONO_BACKLIGHT_WT75_A
     40 
     41 // disable backlight when USB suspended (PC sleep/hibernate/shutdown)
     42 #define MONO_BACKLIGHT_DISABLE_WHEN_USB_SUSPENDED 0
     43 
     44 // disable backlight after timeout in minutes, 0 = no timeout
     45 #define MONO_BACKLIGHT_DISABLE_AFTER_TIMEOUT 0
     46 
     47 // the default brightness
     48 #define MONO_BACKLIGHT_BRIGHTNESS 255
     49 
     50 // the default effect
     51 #define MONO_BACKLIGHT_EFFECT 1
     52 
     53 // the default effect speed (0-3)
     54 #define MONO_BACKLIGHT_EFFECT_SPEED 0
     55 
     56 // Backlight config starts after VIA's EEPROM usage,
     57 // dynamic keymaps start after this.
     58 #define VIA_EEPROM_CUSTOM_CONFIG_SIZE 7
     59 
     60 #define IS31FL3736_I2C_ADDRESS_1 IS31FL3736_I2C_ADDRESS_GND_GND
     61 #define IS31FL3736_LED_COUNT 96