qmk_firmware

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

config.h (2022B)


      1 /* Copyright 2023 Clickety Split Ltd.
      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 // If rotary encoders are used, and they require more or less resolution/sensitivity
     20 // you may try increasing or decreasing the value.
     21 // #define ENCODER_RESOLUTION 2
     22 
     23     #define RGB_MATRIX_KEYPRESSES               // reacts to keypresses
     24 //  #define RGB_MATRIX_KEYRELEASES              // reacts to keyreleases (instead of keypresses)
     25 //  #define RGB_DISABLE_AFTER_TIMEOUT 0         // number of ticks to wait until disabling effects
     26     #define RGB_MATRIX_SLEEP      // turn off effects when suspended
     27     #define RGB_MATRIX_FRAMEBUFFER_EFFECTS
     28     
     29     #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 115   // limits maximum brightness of LEDs to 150 out of 255.
     30                                                 // Higher may cause the controller to crash.
     31     #define RGB_MATRIX_HUE_STEP 10
     32     #define RGB_MATRIX_SAT_STEP 10
     33     #define RGB_MATRIX_VAL_STEP 10
     34     #define RGB_MATRIX_SPD_STEP 10
     35 
     36 
     37 /* By default, the RGB_MATRIX effects are disabled.
     38  * 
     39  * For a complete list, visit: https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects.
     40  * Some of the effects take up a lot of memory, so you may need to manage the number of
     41  * effects that are loaded at any given time.
     42 */
     43     #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
     44     #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
     45     #define ENABLE_RGB_MATRIX_SPLASH