qmk_firmware

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

rev2.h (419B)


      1 // Copyright 2022 zzeneg (@zzeneg)
      2 // SPDX-License-Identifier: GPL-2.0-or-later
      3 
      4 #pragma once
      5 
      6 #include "quantum.h"
      7 #include "gpio.h"
      8 
      9 // RGB LED support for XIAO RP2040
     10 #define PICA40_RGB_POWER_PIN GP11
     11 
     12 // enable custom encoder functionality for Pica40
     13 #ifdef ENCODER_ENABLE
     14 #   include "encoder.h"
     15 #   include "transactions.h"
     16 #   ifndef ENCODER_MAP_KEY_DELAY
     17 #       define ENCODER_MAP_KEY_DELAY 2
     18 #   endif
     19 #endif