mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-24 20:32:58 +00:00
Moved heatmap animations to json config
Updated attribution comments
This commit is contained in:
parent
90fedbc5be
commit
2254ebd3c8
@ -1,4 +1,4 @@
|
||||
// Copyright 2022 Dane Skalski (@Daneski13)
|
||||
// Copyright 2023 Ryan Neff (@JellyTitan)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
@ -47,21 +47,12 @@
|
||||
*/
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
// Decrease decay of heatmap rgb effect
|
||||
# define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 50
|
||||
// If you're setting colors per key, this is required.
|
||||
# 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
|
||||
# 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
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2022 jack (@waffle87)
|
||||
// Copyright 2023 Ryan Neff (@JellyTitan)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
#define HAL_USE_I2C TRUE
|
||||
|
@ -90,9 +90,9 @@
|
||||
"typing_heatmap": true
|
||||
},
|
||||
"default": {
|
||||
"animation": "rainbow_pinwheels",
|
||||
"animation": "typing_heatmap",
|
||||
"on": true,
|
||||
"speed": 64
|
||||
"speed": 14
|
||||
},
|
||||
"layout": [
|
||||
{ "flags": 4, "matrix": [0, 5], "x": 95, "y": 7 },
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2022 Ryan Neff (@JellyTitan)
|
||||
// Copyright 2023 Ryan Neff (@JellyTitan)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
@ -65,7 +65,7 @@
|
||||
│Sft│ Z │ X │ C │ V │ B │Min│ │Max│ N │ M │ , │ . │ / │Sft│
|
||||
└───┴───┴───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┴───┴───┘
|
||||
┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐
|
||||
│ ← │ → │Esc│Spc│Bsp│ │Ent│Tab│Del│ ↓ │ ↑ │
|
||||
│ ← │ → │Esc│Spc│Bsp│ │Tab│Ent│Del│ ↓ │ ↑ │
|
||||
└───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘
|
||||
*/
|
||||
[_QWERTY] = LAYOUT(
|
||||
@ -87,9 +87,9 @@
|
||||
├────┼───┼───┼───┼───┼───┼───┐ ┌───┼───┼───┼───┼───┼───┼────┤
|
||||
│____│ # │ $ │ [ │ ] │ ~ │___│ │___│QMK│ 1 │ 2 │ 3 │ / │BOOT│
|
||||
└────┴───┴───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┴───┴────┘
|
||||
┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐
|
||||
│___│___│___│___│___│ │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
└───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘
|
||||
┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐
|
||||
│___│___│___│___│___│ │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
└───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘
|
||||
*/
|
||||
|
||||
[_LOWER] = LAYOUT(
|
||||
@ -111,9 +111,9 @@
|
||||
├────┼────┼────┼────┼────┼────┼────┐ ┌────┼────┼────┼────┼────┼────┼────┤
|
||||
│____│____│____│____│____│____│____│ │____│____│____│____│____│SPI │SPD │
|
||||
└────┴────┴────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┴────┴────┘
|
||||
┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐
|
||||
│___│___│___│___│QMK│ │QMK│___│___│___│___│
|
||||
└───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘
|
||||
┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐
|
||||
│___│___│___│___│QMK│ │QMK│___│___│___│___│
|
||||
└───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘
|
||||
*/
|
||||
[_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,
|
||||
|
Loading…
Reference in New Issue
Block a user