summaryrefslogtreecommitdiff
path: root/keyboards/mechlovin/infinity87
diff options
context:
space:
mode:
authormechlovin <57231893+mechlovin@users.noreply.github.com>2021-04-20 23:56:32 +0700
committerGitHub <noreply@github.com>2021-04-20 09:56:32 -0700
commit21c147c11b23aad7a9335fee309531eac22ecf6b (patch)
treef7ca1bb8c41f10922a7502cec65802eef317c63d /keyboards/mechlovin/infinity87
parent752f5d6eb699d9c9582c84e2ed578aa6f46b2d70 (diff)
[Keyboard] Refactor IF87_rev1 (#12574)
Diffstat (limited to 'keyboards/mechlovin/infinity87')
-rw-r--r--keyboards/mechlovin/infinity87/rev1/rev1.h10
-rw-r--r--keyboards/mechlovin/infinity87/rev1/rules.mk2
-rw-r--r--keyboards/mechlovin/infinity87/rules.mk2
3 files changed, 10 insertions, 4 deletions
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