qmk_firmware

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

config.h (639B)


      1 // Copyright 2022 Andrew Kannan (@awkannan)
      2 // SPDX-License-Identifier: GPL-2.0-or-later
      3 
      4 #pragma once
      5 
      6 #define BACKLIGHT_PWM_DRIVER    PWMD3
      7 #define BACKLIGHT_PWM_CHANNEL   1
      8 #define BACKLIGHT_PAL_MODE      1
      9 
     10 #define WS2812_SPI_DRIVER SPID2
     11 #define WS2812_SPI_MOSI_PAL_MODE 0
     12 #define WS2812_SPI_SCK_PAL_MODE 0
     13 #define WS2812_SPI_SCK_PIN B13
     14 
     15 /*
     16  * Feature disable options
     17  *  These options are also useful to firmware size reduction.
     18  */
     19 
     20 /* disable debug print */
     21 //#define NO_DEBUG
     22 
     23 /* disable print */
     24 //#define NO_PRINT
     25 
     26 /* disable action features */
     27 //#define NO_ACTION_LAYER
     28 //#define NO_ACTION_TAPPING
     29 //#define NO_ACTION_ONESHOT