1
0
Fork 0

[Keyboard] Add Pica40 (#19220)

Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
Evgenii Vilkov 2022-12-30 01:53:31 +01:00 committed by GitHub
parent a7ff2b8d54
commit ced8142847
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 775 additions and 0 deletions

View file

@ -0,0 +1,22 @@
// 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
# ifndef ENCODER_RESOLUTION
# define ENCODER_RESOLUTION 4
# endif
#endif