qmk_firmware

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

config.h (717B)


      1 // Copyright 2023 eerraa (@era)
      2 // SPDX-License-Identifier: GPL-2.0-or-later
      3 
      4 #pragma once
      5 
      6 /*
      7  * Feature disable options
      8  *  These options are also useful to firmware size reduction.
      9  */
     10 
     11 /* disable debug print */
     12 //#define NO_DEBUG
     13 
     14 /* disable print */
     15 //#define NO_PRINT
     16 
     17 /* disable action features */
     18 //#define NO_ACTION_LAYER
     19 //#define NO_ACTION_TAPPING
     20 //#define NO_ACTION_ONESHOT
     21 
     22 #define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64
     23 
     24 #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET // Activates the double-tap behavior
     25 #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U // Timeout window in ms in which the double tap can occur.
     26 
     27 #define BACKLIGHT_PWM_DRIVER PWMD0
     28 #define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_A