qmk_firmware/quantum/rgb_matrix/post_config.h
2023-08-23 00:03:01 +01:00

29 lines
1 KiB
C

// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
// clang-format off
// framebuffer
#if defined(ENABLE_RGB_MATRIX_TYPING_HEATMAP) || \
defined(ENABLE_RGB_MATRIX_DIGITAL_RAIN)
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#endif
// reactive
#if defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE) || \
defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE) || \
defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE) || \
defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE) || \
defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS) || \
defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS) || \
defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS) || \
defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS) || \
defined(ENABLE_RGB_MATRIX_SPLASH) || \
defined(ENABLE_RGB_MATRIX_MULTISPLASH) || \
defined(ENABLE_RGB_MATRIX_SOLID_SPLASH) || \
defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS) || \
defined(ENABLE_RGB_MATRIX_SOLID_MULTISPLASH)
# define RGB_MATRIX_KEYPRESSES
#endif