Nick Winans
f23f427cae
fix(underglow): Run clang-format
3 years ago
Simon Malinge
c5b8dd85fd
feat(underglow): Add support for configurable min/max brightness
...
Co-authored-by: jrhrsmit <jasper.770@gmail.com>
3 years ago
Pete Johanson
2af794eed3
feat(underglow): Convert HSB changes to absolute.
...
* Public type for HSB led color.
* New API for calculating "next" HSB based on current
state.
* Update behavior to convert the increment/decrement
commands to absolute command as well.
4 years ago
Pete Johanson
bb2c478af9
refactor(rgb): Expose explicit on/off command/API.
4 years ago
KemoNine
6345bd5468
Remove setting the animation/effect when setting hsv ; some of the effects like glowing will use the hsv color specified
4 years ago
KemoNine
99f932a47d
(feat) Allow setting underglow color by key press
4 years ago
Nick
ae63ce5ee7
fix(settings): Add missing err handlers on settings_register
4 years ago
Nick Winans
69d48c5715
refactor(settings): Only load used subtrees
4 years ago
innovaker
00ca0d2f1c
refactor(app): replace `struct device *` with `const struct device *`
...
Replaced with RegExp: /(?<!const )(struct device \*)/g
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html
PR: #467
4 years ago
innovaker
bac1f17cf6
refactor(app): replace Zephyr integer types with C99 integer types
...
u8_t → uint8_t
u16_t → uint16_t
u32_t → uint32_t
u64_t → uint64_t
s8_t → int8_t
s16_t → int16_t
s32_t → int32_t
s64_t → int64_t
Prerequisite for #223
See: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.4.0
PR: #467
4 years ago
Nick
177b28f01d
refactor(settings): Add Kconfig option for settings debounce
4 years ago
Nick
248b360f47
fix(ug): Start tick without settings state available
4 years ago
Nick
a1d3230eef
feat(underglow): RGB toggle controls ext_power
...
fix(ug): Don't return if finding ext power fails
fix(ug): Move ext_power to a static variable
Add #if defs
4 years ago
Nick
1af4221908
feat(underglow): Debounce state settings save
4 years ago
Nick
608ae0df6d
fix lint with clang-format
4 years ago
Pete Johanson
191a2d755a
chore: clang-format the codebase.
...
* Use the LLVM style
* Override indent width (8) and column limit (100)
* Fixes #142 .
4 years ago
Pete Johanson
68e72f9275
fix: Switch to single AUTHORS file.* Closes #164
4 years ago
Nick
979a5bffff
fix(rgb): check if settings enabled
4 years ago
Nick
c5c21022a2
Move settings load
4 years ago
Nick
74fd4fc997
fix(rgb): fix underglow settings location
4 years ago
Nick
3ee2d1196b
feat(rgb): underglow state Kconfig and settings
4 years ago
Nick
dc8c7011b1
If LED strip can't be found, behaviors return err
4 years ago
Nick
564f787280
Add suggested changes
4 years ago
Nick
ca569c8143
Initial RGB Underglow implementation
4 years ago
Nick
bb09707bd2
Add base files and configuration for RGB underglow
4 years ago