summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrupa <rdeadwyler@ns1.com>2020-08-26 04:09:45 -0400
committerGitHub <noreply@github.com>2020-08-26 01:09:45 -0700
commitc3ab20511d7170572d8698f47d3bee1c171919f8 (patch)
tree3b32feddd666725b5df401ee8ce28031333e8b95
parent78362b1dc1f446a17c6386ccaafb0fc7cdccd4f6 (diff)
kbd67/mkiirgb - allow disabling rgb matrix (#10147)
* kbd67/mkiirgb - allow disabling rgb matrix wrap rgb matrix funs in defines * kbd67mkiirgb - changes per review remove kb funcs that just call the user version. what's left is all rgb matrix stuff so we can just wrap the whole file.
-rw-r--r--keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.c b/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.c
index 526949e6fe..323cb23848 100644
--- a/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.c
+++ b/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.c
@@ -95,17 +95,7 @@ led_config_t g_led_config = { {
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
1, 1, 1, 4, 1, 1, 1, 1, 1
} };
-#endif
-void matrix_init_kb(void) {
- matrix_init_user();
-}
-void matrix_scan_kb(void) {
- matrix_scan_user();
-}
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- return process_record_user(keycode, record);
-}
void suspend_power_down_kb(void)
{
rgb_matrix_set_suspend_state(true);
@@ -126,6 +116,4 @@ void rgb_matrix_indicators_user(void)
rgb_matrix_set_color(30, 0xFF, 0xFF, 0xFF);
}
}
-
-
-
+#endif