1
0
Fork 0

Remove useless "ifdef KEYBOARD_*" (#20078)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan 2023-03-16 20:18:33 +11:00 committed by GitHub
parent 72da3ee63e
commit 9dbee3e23d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
768 changed files with 194 additions and 6991 deletions

View file

@ -13,7 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "pro.h"
#include "quantum.h"
#ifdef ENCODER_ENABLE
bool encoder_update_kb(uint8_t index, bool clockwise) {

View file

@ -1,29 +0,0 @@
/* Copyright 2021 Glorious, LLC <salman@pcgamingrace.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"
#if defined(KEYBOARD_gmmk_pro_rev1_ansi)
# include "rev1/ansi/ansi.h"
#elif defined(KEYBOARD_gmmk_pro_rev1_iso)
# include "rev1/iso/iso.h"
#elif defined(KEYBOARD_gmmk_pro_rev2_ansi)
# include "rev2/ansi/ansi.h"
#elif defined(KEYBOARD_gmmk_pro_rev2_iso)
# include "rev2/iso/iso.h"
#endif // GMMK Pro revisions

View file

@ -16,7 +16,7 @@
#pragma once
#include "pro.h"
#include "quantum.h"
#define ___ KC_NO

View file

@ -16,7 +16,7 @@
#pragma once
#include "pro.h"
#include "quantum.h"
#define ___ KC_NO

View file

@ -16,7 +16,7 @@
#pragma once
#include "pro.h"
#include "quantum.h"
#define ___ KC_NO

View file

@ -16,7 +16,7 @@
#pragma once
#include "pro.h"
#include "quantum.h"
#define ___ KC_NO