mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-26 11:29:57 +00:00
d5fae3a6f9
* Updated Keychron Q1 user keymap - Added Caps Lock indicator - Mission Control and Launchpad custom keycodes are now defined using the VIA user keycodes range so they can be labeled properly in VIA * Only use VIA keycode range if VIA is enabled * Reformatted led_indexes enum to match layout * Feature: When the Fn layer is active, RGB lighting turns off for keys that are not assigned * Fixes * Cleanup: Updated method signature of rgb_matrix_set_color_by_keycode to more closely match rgb_matrix_set_color * Fixed int sizing for keycodes
26 lines
940 B
C
26 lines
940 B
C
/* Copyright 2021 @ Grayson Carr
|
|
*
|
|
* 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
|
|
|
|
/* RGB Matrix Configuration */
|
|
#ifdef RGB_MATRIX_ENABLE
|
|
# define RGB_DISABLE_WHEN_USB_SUSPENDED
|
|
# define CAPS_LOCK_INDICATOR_COLOR RGB_RED
|
|
# define CAPS_LOCK_INDICATOR_LIGHT_ALPHAS
|
|
# define FN_LAYER_TRANSPARENT_KEYS_OFF
|
|
#endif
|