qmk_firmware

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

config.h (524B)


      1 // Copyright 2022 L. Mistry (@schwarzer-geiger)
      2 // SPDX-License-Identifier: GPL-2.0-or-later
      3 
      4 #pragma once
      5 
      6 // Thumbstick settings
      7 #define ANALOG_JOYSTICK_X_AXIS_PIN B5
      8 #define ANALOG_JOYSTICK_Y_AXIS_PIN B6
      9 
     10 // Thumbstick defaults
     11 
     12 #ifndef SCROLLING_LAYER
     13     #define SCROLLING_LAYER 1
     14 #endif
     15 #ifndef TAPPING_LAYER
     16     #define TAPPING_LAYER 2
     17 #endif
     18 #ifndef CURSOR_SPEED
     19     #define CURSOR_SPEED 70
     20 #endif
     21 #ifndef SCROLL_SPEED
     22     #define SCROLL_SPEED 25
     23 #endif
     24 #ifndef SCROLL_DELAY_MS
     25     #define SCROLL_DELAY_MS 70
     26 #endif