mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-01 05:07:26 +06:00
29 lines
710 B
C
Executable File
29 lines
710 B
C
Executable File
// Copyright 2022 IBNobody (@IBNobody)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#if defined(RGB_MATRIX_ENABLE)
|
|
#ifndef ID27_DISABLE_UNDERGLOW
|
|
#define RGB_MATRIX_LED_COUNT 31 // The number of LEDs connected
|
|
#else
|
|
#define RGB_MATRIX_LED_COUNT 27 // -4 disabled underglow LEDs
|
|
#endif
|
|
#endif // RGB_MATRIX_ENABLE
|
|
|
|
/* -----------------------
|
|
* Feature disable options
|
|
* These options are also useful to firmware size reduction.
|
|
* ----------------------- */
|
|
|
|
/* disable debug print */
|
|
// #define NO_DEBUG
|
|
|
|
/* disable print */
|
|
// #define NO_PRINT
|
|
|
|
/* disable action features */
|
|
// #define NO_ACTION_LAYER
|
|
// #define NO_ACTION_TAPPING
|
|
// #define NO_ACTION_ONESHOT
|