Moved heatmap animations to json config

Updated attribution comments
This commit is contained in:
Ryan Neff 2023-11-30 15:36:52 -08:00
parent 90fedbc5be
commit 2254ebd3c8
4 changed files with 12 additions and 21 deletions

View File

@ -1,4 +1,4 @@
// Copyright 2022 Dane Skalski (@Daneski13) // Copyright 2023 Ryan Neff (@JellyTitan)
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
#pragma once #pragma once
@ -47,21 +47,12 @@
*/ */
#ifdef RGB_MATRIX_ENABLE #ifdef RGB_MATRIX_ENABLE
# define RGB_DISABLE_WHEN_USB_SUSPENDED
// Decrease decay of heatmap rgb effect // Decrease decay of heatmap rgb effect
# define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 50 # define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 50
// If you're setting colors per key, this is required. // If you're setting colors per key, this is required.
# define SPLIT_LAYER_STATE_ENABLE # define SPLIT_LAYER_STATE_ENABLE
// Default effect when EEPROM cleared
# define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_RAINBOW_MOVING_CHEVRON
// Turns off RGB effects when there is no longer a USB connection // Turns off RGB effects when there is no longer a USB connection
# define RGB_DISABLE_WHEN_USB_SUSPENDED # define RGB_DISABLE_WHEN_USB_SUSPENDED
// Key press reactive animations
# define SPLIT_TRANSPORT_MIRROR // Necessary setting for key press animations
# define RGB_MATRIX_KEYPRESSES // Enables key press effects
# define ENABLE_RGB_MATRIX_MULTISPLASH
#endif #endif

View File

@ -1,4 +1,4 @@
// Copyright 2022 jack (@waffle87) // Copyright 2023 Ryan Neff (@JellyTitan)
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
#pragma once #pragma once
#define HAL_USE_I2C TRUE #define HAL_USE_I2C TRUE

View File

@ -90,9 +90,9 @@
"typing_heatmap": true "typing_heatmap": true
}, },
"default": { "default": {
"animation": "rainbow_pinwheels", "animation": "typing_heatmap",
"on": true, "on": true,
"speed": 64 "speed": 14
}, },
"layout": [ "layout": [
{ "flags": 4, "matrix": [0, 5], "x": 95, "y": 7 }, { "flags": 4, "matrix": [0, 5], "x": 95, "y": 7 },

View File

@ -1,4 +1,4 @@
// Copyright 2022 Ryan Neff (@JellyTitan) // Copyright 2023 Ryan Neff (@JellyTitan)
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H #include QMK_KEYBOARD_H
@ -65,7 +65,7 @@
Sft Z X C V B Min Max N M , . / Sft Sft Z X C V B Min Max N M , . / Sft
EscSpcBsp EntTabDel EscSpcBsp TabEntDel
*/ */
[_QWERTY] = LAYOUT( [_QWERTY] = LAYOUT(
@ -87,9 +87,9 @@
____ # $ [ ] ~ ___ ___QMK 1 2 3 / BOOT ____ # $ [ ] ~ ___ ___QMK 1 2 3 / BOOT
_______________ 0 0 0 0 0 _______________ 0 0 0 0 0
*/ */
[_LOWER] = LAYOUT( [_LOWER] = LAYOUT(
@ -111,9 +111,9 @@
____________________________ ____________________SPI SPD ____________________________ ____________________SPI SPD
____________QMK QMK____________ ____________QMK QMK____________
*/ */
[_RAISE] = LAYOUT( [_RAISE] = LAYOUT(
RGB_TOG, KC_ACL0, KC_ACL1, KC_ACL2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_MOD, RGB_RMOD, RGB_HUI, RGB_HUD, RGB_TOG, KC_ACL0, KC_ACL1, KC_ACL2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_MOD, RGB_RMOD, RGB_HUI, RGB_HUD,