qmk_firmware

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

config.h (911B)


      1 // Copyright 2022 Kyle McCreery (@kylemccreery)
      2 // SPDX-License-Identifier: GPL-2.0-or-later
      3 
      4 #pragma once
      5 
      6 
      7 /* Define custom font */
      8 #define OLED_FONT_H "keyboards/mechwild/puckbuddy/glcdfont.c"
      9 
     10 /* set the tapping term for glidepoint pad to register a tap click */
     11 //#define CIRQUE_PINNACLE_TAPPING_TERM 0 // This is set to 0 to disable it
     12 
     13 /* spi config */
     14 #define SPI_DRIVER SPID1
     15 #define SPI_SCK_PIN A5
     16 #define SPI_SCK_PAL_MODE 5
     17 #define SPI_MOSI_PIN A7
     18 #define SPI_MOSI_PAL_MODE 5
     19 #define SPI_MISO_PIN A6
     20 #define SPI_MISO_PAL_MODE 5
     21 #define CIRQUE_PINNACLE_SPI_DIVISOR 8
     22 #define CIRQUE_PINNACLE_SPI_CS_PIN A4
     23 
     24 /*
     25  * Feature disable options
     26  *  These options are also useful to firmware size reduction.
     27  */
     28 
     29 /* disable debug print */
     30 //#define NO_DEBUG
     31 
     32 /* disable print */
     33 //#define NO_PRINT
     34 
     35 /* disable action features */
     36 //#define NO_ACTION_LAYER
     37 //#define NO_ACTION_TAPPING
     38 //#define NO_ACTION_ONESHOT