qmk_firmware

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

config.h (987B)


      1 // Copyright 2022 Chris Hoage (@chrishoage)
      2 // SPDX-License-Identifier: GPL-2.0-or-later
      3 
      4 #pragma once
      5 
      6 // Auto mouse layer makes use of the Cirque touchdown indicator which requires
      7 // the touch sensor to be on the master side
      8 #define MASTER_RIGHT
      9 
     10 // Transport dpi and enc mode for display on oled
     11 #define SPLIT_TRANSACTION_IDS_KB RPC_ID_KB_CONFIG_SYNC
     12 
     13 #ifdef POINTING_DEVICE_ENABLE
     14 #    define POINTING_DEVICE_AUTO_MOUSE_ENABLE
     15 // Absolute mode allows for z/touchdown triggering of auto mouse layer with out
     16 // moving finger
     17 #    define CIRQUE_PINNACLE_POSITION_MODE CIRQUE_PINNACLE_ABSOLUTE_MODE
     18 #    define POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE
     19 #endif // POINTING_DEVICE_ENABLE
     20 
     21 #define I2C_DRIVER I2CD0
     22 #define I2C1_SDA_PIN GP16
     23 #define I2C1_SCL_PIN GP17
     24 
     25 #ifdef OLED_ENABLE
     26 #    define OLED_DISPLAY_128X64
     27 #    define OLED_FONT_H "./lib/glcdfont.c"
     28 #endif // OLED_ENABLE
     29 
     30 #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
     31 #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U