From 21c147c11b23aad7a9335fee309531eac22ecf6b Mon Sep 17 00:00:00 2001 From: mechlovin <57231893+mechlovin@users.noreply.github.com> Date: Tue, 20 Apr 2021 23:56:32 +0700 Subject: [Keyboard] Refactor IF87_rev1 (#12574) --- keyboards/mechlovin/infinity87/rev1/rev1.h | 10 +++++++++- keyboards/mechlovin/infinity87/rev1/rules.mk | 2 -- keyboards/mechlovin/infinity87/rules.mk | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) (limited to 'keyboards/mechlovin/infinity87') diff --git a/keyboards/mechlovin/infinity87/rev1/rev1.h b/keyboards/mechlovin/infinity87/rev1/rev1.h index 16cdf9ed85..de623a1cdd 100644 --- a/keyboards/mechlovin/infinity87/rev1/rev1.h +++ b/keyboards/mechlovin/infinity87/rev1/rev1.h @@ -1,4 +1,4 @@ -/* Copyright 2020 Team Mechlovin +/* Copyright 2021 Mechlovin' Studio * * 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 @@ -17,3 +17,11 @@ #pragma once #include "quantum.h" + +#ifdef KEYBOARD_mechlovin_infinity87_rev1_rogue87 + #include "rogue87.h" +#elif KEYBOARD_mechlovin_infinity87_rev1_rouge87 + #include "rouge87.h" +#elif KEYBOARD_mechlovin_infinity87_rev1_standard + #include "infinity87.h" +#endif diff --git a/keyboards/mechlovin/infinity87/rev1/rules.mk b/keyboards/mechlovin/infinity87/rev1/rules.mk index cb04a558f2..2f2d27fb2f 100644 --- a/keyboards/mechlovin/infinity87/rev1/rules.mk +++ b/keyboards/mechlovin/infinity87/rev1/rules.mk @@ -2,5 +2,3 @@ MCU = STM32F303 BOARD = QMK_PROTON_C BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality - -DEFAULT_FOLDER = mechlovin/infinity87/rev1/standard \ No newline at end of file diff --git a/keyboards/mechlovin/infinity87/rules.mk b/keyboards/mechlovin/infinity87/rules.mk index 1222987996..e0858aff0f 100644 --- a/keyboards/mechlovin/infinity87/rules.mk +++ b/keyboards/mechlovin/infinity87/rules.mk @@ -16,4 +16,4 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow BLUETOOTH_ENABLE = no # Enable Bluetooth AUDIO_ENABLE = no # Audio output -DEFAULT_FOLDER = mechlovin/infinity87/rev1/standard +DEFAULT_FOLDER = mechlovin/infinity87/rgb_rev1 -- cgit v1.2.3