Remove redundant keyboard headers (#25208)
This commit is contained in:
parent
e98c41c02f
commit
4fb3cf0712
20 changed files with 90 additions and 226 deletions
|
|
@ -1,6 +0,0 @@
|
|||
// Copyright 2023 lendunistus
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#define CAPS_LOCK_ENABLE true
|
||||
|
|
@ -16,6 +16,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
*/
|
||||
#include "quantum.h"
|
||||
|
||||
#ifndef CAPS_LOCK_ENABLE
|
||||
# define CAPS_LOCK_ENABLE true
|
||||
#endif
|
||||
|
||||
bool led_update_kb(led_t led_state) {
|
||||
bool res = led_update_user(led_state);
|
||||
if (CAPS_LOCK_ENABLE && res) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue