-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig
33 lines (28 loc) · 1.13 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright (c) 2024 Kuba Birecki
# SPDX-License-Identifier: MIT
menuconfig ZMK_RGB_FX
bool "RGB Animations"
depends on LED_STRIP
help
Enable RGB animations.
menuconfig ZMK_RGB_FX_FPS
int "RGB effect FPS"
range 1 60
default 30
help
Set the FPS at which the RGB animations should run, or to be more specific,
it's the maximum speed at which active animations can request new frames
to be rendered.
menuconfig ZMK_RGB_FX_PIXEL_DISTANCE
bool "Generate a lookup table for distances between pixels"
default y
help
This setting will generate a lookup table containing the relative distances
between all pixels during system initialization, in order to improve performance
during runtime.
The size of the lookup table is: (n-1) + (n-2) + ... + 1 bytes
Where `n` is the number of individual color pixels. For example:
60 RGB LEDs -> 180 pixels -> 16 110 bytes
100 RGB LEDs -> 300 pixels -> 44 850 bytes
If you're not using animations that rely on relative positions,
you can disable this setting to save space.