diff options
author | Grayson Carr <734415+gtg465x@users.noreply.github.com> | 2021-10-06 11:36:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-06 08:36:04 -0700 |
commit | d5fae3a6f96d44a432350d5f487204a962c5f9bc (patch) | |
tree | c6bb3798b8150714cc53171ba7f091583252a85b /keyboards/keychron/q1/rev_0100/keymaps/gtg465x/config.h | |
parent | f32db0bdd1f25099605ed324f1e8eab9aa7361e4 (diff) |
Updated Keychron Q1 user keymap (#14666)
* 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
Diffstat (limited to 'keyboards/keychron/q1/rev_0100/keymaps/gtg465x/config.h')
-rw-r--r-- | keyboards/keychron/q1/rev_0100/keymaps/gtg465x/config.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/keychron/q1/rev_0100/keymaps/gtg465x/config.h b/keyboards/keychron/q1/rev_0100/keymaps/gtg465x/config.h index 3a20f0b008..5ac05d04c1 100644 --- a/keyboards/keychron/q1/rev_0100/keymaps/gtg465x/config.h +++ b/keyboards/keychron/q1/rev_0100/keymaps/gtg465x/config.h @@ -16,6 +16,10 @@ #pragma once - /* RGB Matrix Configuration */ -#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended +#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 |