mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-06-06 08:22:44 +00:00
Remove redundant keyboard headers (#25208)
This commit is contained in:
parent
e98c41c02f
commit
4fb3cf0712
@ -14,7 +14,20 @@ GNU General Public License for more details.
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "rev_a.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#ifndef CAPS_LOCK_ENABLE
|
||||||
|
# define CAPS_LOCK_ENABLE true
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef CAPS_LOCK_COLOR
|
||||||
|
# define CAPS_LOCK_COLOR RGB_RED
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef CAPS_LED_GROUP
|
||||||
|
// change what leds to target, for example LED_FLAG_KEYLIGHT for alpas or LED_FLAG_MODIFIER for modifiers
|
||||||
|
# define CAPS_LED_GROUP LED_FLAG_INDICATOR
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = {
|
const is31fl3733_led_t PROGMEM g_is31fl3733_leds[IS31FL3733_LED_COUNT] = {
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2022 Stefan Sundin "4pplet" <4pplet@protonmail.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#define CAPS_LOCK_ENABLE true
|
|
||||||
#define CAPS_LOCK_COLOR RGB_RED
|
|
||||||
#define CAPS_LED_GROUP LED_FLAG_INDICATOR // change what leds to target, for example LED_FLAG_KEYLIGHT for alpas or LED_FLAG_MODIFIER for modifiers
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
@ -14,7 +14,11 @@ GNU General Public License for more details.
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "rev_b.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#ifndef CAPS_LOCK_ENABLE
|
||||||
|
# define CAPS_LOCK_ENABLE true
|
||||||
|
#endif
|
||||||
|
|
||||||
bool led_update_kb(led_t led_state) {
|
bool led_update_kb(led_t led_state) {
|
||||||
bool res = led_update_user(led_state);
|
bool res = led_update_user(led_state);
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2020 Stefan Sundin "4pplet" <4pplet@protonmail.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#define CAPS_LOCK_ENABLE true
|
|
||||||
//#define CAPS_LOCK_COLOR HSV_ORANGE
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
@ -14,7 +14,11 @@ GNU General Public License for more details.
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "rev_c.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#ifndef CAPS_LOCK_ENABLE
|
||||||
|
# define CAPS_LOCK_ENABLE true
|
||||||
|
#endif
|
||||||
|
|
||||||
bool led_update_kb(led_t led_state) {
|
bool led_update_kb(led_t led_state) {
|
||||||
bool res = led_update_user(led_state);
|
bool res = led_update_user(led_state);
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2022 Stefan Sundin "4pplet" <mail@4pplet.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#define CAPS_LOCK_ENABLE true
|
|
||||||
//#define CAPS_LOCK_COLOR HSV_ORANGE
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
@ -14,7 +14,11 @@ GNU General Public License for more details.
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "rev_d.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#ifndef CAPS_LOCK_ENABLE
|
||||||
|
# define CAPS_LOCK_ENABLE true
|
||||||
|
#endif
|
||||||
|
|
||||||
bool led_update_kb(led_t led_state) {
|
bool led_update_kb(led_t led_state) {
|
||||||
bool res = led_update_user(led_state);
|
bool res = led_update_user(led_state);
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2022 Stefan Sundin "4pplet" <mail@4pplet.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#define CAPS_LOCK_ENABLE true
|
|
||||||
//#define CAPS_LOCK_COLOR HSV_ORANGE
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
@ -14,7 +14,15 @@ GNU General Public License for more details.
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "rev_e.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#ifndef CAPS_LOCK_ENABLE
|
||||||
|
# define CAPS_LOCK_ENABLE true
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef CAPS_LOCK_COLOR
|
||||||
|
# define CAPS_LOCK_COLOR HSV_GREEN
|
||||||
|
#endif
|
||||||
|
|
||||||
void keyboard_pre_init_kb(void) {
|
void keyboard_pre_init_kb(void) {
|
||||||
rgblight_set_effect_range(0, 16);
|
rgblight_set_effect_range(0, 16);
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2022 Stefan Sundin "4pplet" <mail@4pplet.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
||||||
|
|
||||||
#define CAPS_LOCK_ENABLE true
|
|
||||||
#define CAPS_LOCK_COLOR HSV_GREEN
|
|
@ -14,7 +14,19 @@ GNU General Public License for more details.
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "rev_a.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#ifndef CAPS_LOCK_ENABLE
|
||||||
|
# define CAPS_LOCK_ENABLE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef SCROLL_LOCK_ENABLE
|
||||||
|
# define SCROLL_LOCK_ENABLE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// If colors are defined, they will be static. If not defined, color for indicators can be set in VIA.
|
||||||
|
//#define CAPS_LOCK_COLOR HSV_GREEN
|
||||||
|
//#define SCROLL_LOCK_COLOR HSV_GREEN
|
||||||
|
|
||||||
bool led_update_kb(led_t led_state) {
|
bool led_update_kb(led_t led_state) {
|
||||||
bool res = led_update_user(led_state);
|
bool res = led_update_user(led_state);
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2022 Stefan Sundin "4pplet" <mail@4pplet.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#define CAPS_LOCK_ENABLE 1
|
|
||||||
#define SCROLL_LOCK_ENABLE 1
|
|
||||||
|
|
||||||
// If colors are defined, they will be static. If not defined, color for incicators can be set in VIA.
|
|
||||||
//#define CAPS_LOCK_COLOR HSV_GREEN
|
|
||||||
//#define SCROLL_LOCK_COLOR HSV_GREEN
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
@ -14,7 +14,19 @@ GNU General Public License for more details.
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "rev_b.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#ifndef CAPS_LOCK_ENABLE
|
||||||
|
# define CAPS_LOCK_ENABLE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef SCROLL_LOCK_ENABLE
|
||||||
|
# define SCROLL_LOCK_ENABLE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// If colors are defined, they will be static. If not defined, color for indicators can be set in VIA.
|
||||||
|
//#define CAPS_LOCK_COLOR HSV_GREEN
|
||||||
|
//#define SCROLL_LOCK_COLOR HSV_GREEN
|
||||||
|
|
||||||
bool led_update_kb(led_t led_state) {
|
bool led_update_kb(led_t led_state) {
|
||||||
bool res = led_update_user(led_state);
|
bool res = led_update_user(led_state);
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2022 Stefan Sundin "4pplet" <mail@4pplet.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#define CAPS_LOCK_ENABLE 1
|
|
||||||
#define SCROLL_LOCK_ENABLE 1
|
|
||||||
|
|
||||||
// If colors are defined, they will be static. If not defined, color for incicators can be set in VIA.
|
|
||||||
//#define CAPS_LOCK_COLOR HSV_GREEN
|
|
||||||
//#define SCROLL_LOCK_COLOR HSV_GREEN
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
@ -14,7 +14,19 @@ GNU General Public License for more details.
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "rev_b_ansi.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#ifndef CAPS_LOCK_ENABLE
|
||||||
|
# define CAPS_LOCK_ENABLE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef SCROLL_LOCK_ENABLE
|
||||||
|
# define SCROLL_LOCK_ENABLE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// If colors are defined, they will be static. If not defined, color for indicators can be set in VIA.
|
||||||
|
//#define CAPS_LOCK_COLOR HSV_GREEN
|
||||||
|
//#define SCROLL_LOCK_COLOR HSV_GREEN
|
||||||
|
|
||||||
bool led_update_kb(led_t led_state) {
|
bool led_update_kb(led_t led_state) {
|
||||||
bool res = led_update_user(led_state);
|
bool res = led_update_user(led_state);
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2022 Stefan Sundin "4pplet" <mail@4pplet.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#define CAPS_LOCK_ENABLE 1
|
|
||||||
#define SCROLL_LOCK_ENABLE 1
|
|
||||||
|
|
||||||
// If colors are defined, they will be static. If not defined, color for incicators can be set in VIA.
|
|
||||||
//#define CAPS_LOCK_COLOR HSV_GREEN
|
|
||||||
//#define SCROLL_LOCK_COLOR HSV_GREEN
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
@ -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"
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#ifndef CAPS_LOCK_ENABLE
|
||||||
|
# define CAPS_LOCK_ENABLE true
|
||||||
|
#endif
|
||||||
|
|
||||||
bool led_update_kb(led_t led_state) {
|
bool led_update_kb(led_t led_state) {
|
||||||
bool res = led_update_user(led_state);
|
bool res = led_update_user(led_state);
|
||||||
if (CAPS_LOCK_ENABLE && res) {
|
if (CAPS_LOCK_ENABLE && res) {
|
||||||
|
@ -14,7 +14,15 @@ GNU General Public License for more details.
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "solder.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#ifndef CAPS_LOCK_ENABLE
|
||||||
|
# define CAPS_LOCK_ENABLE true
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef CAPS_LOCK_COLOR
|
||||||
|
# define CAPS_LOCK_COLOR HSV_GREEN
|
||||||
|
#endif
|
||||||
|
|
||||||
void keyboard_pre_init_kb(void) {
|
void keyboard_pre_init_kb(void) {
|
||||||
rgblight_set_effect_range(0, 16);
|
rgblight_set_effect_range(0, 16);
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2024 Joseph Williams IV "IV Works" <josephawilliamsiv@gmail.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
||||||
|
|
||||||
#define CAPS_LOCK_ENABLE true
|
|
||||||
#define CAPS_LOCK_COLOR HSV_GREEN
|
|
Loading…
Reference in New Issue
Block a user