qmk_firmware

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

config.h (1771B)


      1 /* Copyright 2019 MechMerlin
      2  * Copyright 2020 @ben_roe (keycapsss.com)
      3  * Copyright 2023 @Ex3c4Def
      4  *
      5  * This program is free software: you can redistribute it and/or modify
      6  * it under the terms of the GNU General Public License as published by
      7  * the Free Software Foundation, either version 2 of the License, or
      8  * (at your option) any later version.
      9  *
     10  * This program is distributed in the hope that it will be useful,
     11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
     12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13  * GNU General Public License for more details.
     14  *
     15  * You should have received a copy of the GNU General Public License
     16  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     17  */
     18 
     19 #pragma once
     20 
     21 #define MASTER_RIGHT
     22 #define ENABLE_RGB_MATRIX_ALPHAS_MODS    // Static dual hue, speed is hue for secondary hue
     23 #define ENABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard
     24 
     25 // These modes also require the RGB_MATRIX_FRAMEBUFFER_EFFECTS define to be available.
     26 #define ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM!
     27 
     28 #define RGB_MATRIX_VAL_STEP 4
     29 #define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_COLOR
     30 #define RGB_MATRIX_DEFAULT_HUE 0   // Sets the default hue value, if none has been set
     31 #define RGB_MATRIX_DEFAULT_SAT 255 // Sets the default saturation value, if none has been set
     32 #define RGB_MATRIX_DEFAULT_VAL 60  // RGB_MATRIX_MAXIMUM_BRIGHTNESS // Sets the default brightness value, if none has been set
     33 #define RGB_MATRIX_DEFAULT_SPD 60  // Sets the default animation speed, if none has been set
     34 
     35 #if defined(POINTING_DEVICE_DRIVER_pimoroni_trackball)
     36 #    define POINTING_DEVICE_ROTATION_180 // may be used for trackball in 2nd position
     37 #endif