Skip to content

Commit

Permalink
enable RGB matrix effects for drop ctrl (qmk#18291)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsluo authored and nolanseaton committed Jan 23, 2023
1 parent 5837c10 commit 5e16d5d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions keyboards/massdrop/ctrl/keymaps/via/config.h
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion keyboards/massdrop/ctrl/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e16d5d

Please sign in to comment.