summaryrefslogtreecommitdiff
path: root/keyboards/massdrop
diff options
context:
space:
mode:
authorDavid Luo <davidl2381@gmail.com>2022-09-07 15:17:52 -0400
committerGitHub <noreply@github.com>2022-09-07 20:17:52 +0100
commit76910eece1dc1aa2f213e6bf4c628a241a20b923 (patch)
treeac4e7e8dd448fc1fc4af6d62e2c0cf4e43180722 /keyboards/massdrop
parent6321cbaadd614c70d96cd3fd2fbae397b96d1245 (diff)
enable RGB matrix effects for drop ctrl (#18291)
Diffstat (limited to 'keyboards/massdrop')
-rw-r--r--keyboards/massdrop/ctrl/keymaps/via/config.h22
-rw-r--r--keyboards/massdrop/ctrl/keymaps/via/keymap.c2
2 files changed, 23 insertions, 1 deletions
diff --git a/keyboards/massdrop/ctrl/keymaps/via/config.h b/keyboards/massdrop/ctrl/keymaps/via/config.h
new file mode 100644
index 0000000000..c80e648221
--- /dev/null
+++ b/keyboards/massdrop/ctrl/keymaps/via/config.h
@@ -0,0 +1,22 @@
+/* Copyright 2022 dsluo (me@dsluo.dev)
+ *
+ * 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
+
+// Enable additional LED functionality
+#define USB_LED_INDICATOR_ENABLE
+#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
+#define RGB_MATRIX_KEYPRESSES
diff --git a/keyboards/massdrop/ctrl/keymaps/via/keymap.c b/keyboards/massdrop/ctrl/keymaps/via/keymap.c
index 4fb4f3cbde..294ce2e772 100644
--- a/keyboards/massdrop/ctrl/keymaps/via/keymap.c
+++ b/keyboards/massdrop/ctrl/keymaps/via/keymap.c
@@ -17,7 +17,7 @@
#include QMK_KEYBOARD_H
enum ctrl_keycodes {
- U_T_AUTO = USER00, //USB Extra Port Toggle Auto Detect / Always Active
+ U_T_AUTO = USER00, //USB Extra Port Toggle Auto Detect / Always Active
U_T_AGCR, //USB Toggle Automatic GCR control
DBG_TOG, //DEBUG Toggle On / Off
DBG_MTRX, //DEBUG Toggle Matrix Prints