keychron_qmk_firmware/keyboards/pica40/rev2/config.h
Evgenii Vilkov ced8142847
[Keyboard] Add Pica40 (#19220)
Co-authored-by: Drashna Jaelre <drashna@live.com>
2022-12-30 11:53:31 +11:00

20 lines
570 B
C

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