keychron_qmk_firmware/keyboards/pica40/rev2/config.h
Ryan 6fa11bf219
Separate RGBLight/RGB Matrix keycode handling (#23679)
* Separate RGBLight/RGB Matrix keycode handling

* Remove `_DISABLE_KEYCODES` handling

* Update RGB Matrix keycode docs

* Update underglow keycodes for previously migrated boards

* Update keycodes for boards with custom handling

* Fix typos

* Fix bad merge
2024-10-12 18:43:50 +02:00

17 lines
426 B
C

// Copyright 2022 zzeneg (@zzeneg)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#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 PICA40_RGBLIGHT_TIMEOUT 5 // turn RGB off after N minutes
#endif
#ifdef ENCODER_ENABLE
# define SPLIT_TRANSACTION_IDS_KB ENCODER_SYNC
#endif