keychron_qmk_firmware/keyboards/pica40/rev2/config.h

20 lines
570 B
C
Raw Normal View History

// 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