mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-16 17:04:50 +00:00
7e0299117b
Co-authored-by: Nick Brassel <nick@tzarc.org>
19 lines
419 B
C
19 lines
419 B
C
// Copyright 2022 zzeneg (@zzeneg)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "quantum.h"
|
|
#include "gpio.h"
|
|
|
|
// RGB LED support for XIAO RP2040
|
|
#define PICA40_RGB_POWER_PIN GP11
|
|
|
|
// enable custom encoder functionality for Pica40
|
|
#ifdef ENCODER_ENABLE
|
|
# include "encoder.h"
|
|
# include "transactions.h"
|
|
# ifndef ENCODER_MAP_KEY_DELAY
|
|
# define ENCODER_MAP_KEY_DELAY 2
|
|
# endif
|
|
#endif
|