summaryrefslogtreecommitdiff
path: root/keyboards/pica40/rev2/config.h
blob: 1a59bee3ddeae7c7e54da7be4173acdea54b7c4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2022 zzeneg (@zzeneg)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#define SERIAL_USART_TX_PIN GP0

#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U

#ifdef RGBLIGHT_ENABLE
#    define RGBLIGHT_DISABLE_KEYCODES // disable keycodes for RGB Light controls, only status LED is supported
#    define PICA40_RGBLIGHT_TIMEOUT 5 // turn RGB off after N minutes
#endif

#ifdef ENCODER_ENABLE
#   define SPLIT_TRANSACTION_IDS_KB ENCODER_SYNC
#endif