ReFil
497b0a2256
Start timer only when appropriate
2022-06-23 15:48:06 +01:00
ReFil
75750ec1c1
Update app/src/rgb_underglow.c
...
Co-authored-by: Pete Johanson <peter@peterjohanson.com>
2022-06-23 14:04:17 +00:00
ReFil
badf3271a2
Clang format
2022-06-23 11:20:53 +01:00
ReFil
590c0c6e4f
Z3 fixes and tweaks
2022-06-23 11:19:12 +01:00
ReFil
a0b83d546f
Merge branch 'zmkfirmware:main' into rgb-auto-off
2022-02-28 19:27:30 +00:00
ReFil
6a7b56ebcd
Update rgb_underglow.c
2022-02-01 11:13:42 +00:00
ReFil
91a3dfa68c
feat(underglow): fix bug
2022-02-01 11:13:42 +00:00
ReFil
20a034fb37
fix(underglow): function tweak
2022-02-01 11:13:42 +00:00
ReFil
5db27d1b44
clang
2022-02-01 11:13:42 +00:00
ReFil
ea6952b352
fix(formatting): clang format
2022-02-01 11:13:42 +00:00
ReFil
11e19b3490
initial rgb auto off port
2022-02-01 11:13:42 +00:00
Peter Johanson
d486304f79
fix(underglow): Handle cycling effects on splits.
...
* Convert relative effect cycling to absolute effect selection.
2022-01-31 23:03:34 -05:00
Nick Winans
f23f427cae
fix(underglow): Run clang-format
2021-10-10 17:43:57 -07:00
Simon Malinge
c5b8dd85fd
feat(underglow): Add support for configurable min/max brightness
...
Co-authored-by: jrhrsmit <jasper.770@gmail.com>
2021-10-10 17:43:57 -07:00
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.
2021-02-09 01:27:50 -05:00
Pete Johanson
bb2c478af9
refactor(rgb): Expose explicit on/off command/API.
2021-02-09 01:27:50 -05:00
KemoNine
6345bd5468
Remove setting the animation/effect when setting hsv ; some of the effects like glowing will use the hsv color specified
2021-01-08 16:08:13 -05:00
KemoNine
99f932a47d
(feat) Allow setting underglow color by key press
2021-01-08 16:08:13 -05:00
Nick
ae63ce5ee7
fix(settings): Add missing err handlers on settings_register
2020-12-14 22:46:49 -05:00
Nick Winans
69d48c5715
refactor(settings): Only load used subtrees
2020-12-14 22:46:49 -05:00
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
2020-12-14 12:41:25 -05:00
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
2020-12-14 12:41:25 -05:00
Nick
177b28f01d
refactor(settings): Add Kconfig option for settings debounce
2020-12-02 19:54:48 -05:00
Nick
248b360f47
fix(ug): Start tick without settings state available
2020-11-23 12:42:27 -05:00
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
2020-11-22 21:23:29 -05:00
Nick
1af4221908
feat(underglow): Debounce state settings save
2020-11-03 22:08:20 -05:00
Nick
608ae0df6d
fix lint with clang-format
2020-09-15 14:47:19 -05:00
Nick
18d21b0362
Merge remote-tracking branch 'upstream/main' into underglow/state-persistence
2020-09-15 14:41:59 -05:00
Pete Johanson
191a2d755a
chore: clang-format the codebase.
...
* Use the LLVM style
* Override indent width (8) and column limit (100)
* Fixes #142 .
2020-09-14 00:10:34 -04:00
Pete Johanson
68e72f9275
fix: Switch to single AUTHORS file.* Closes #164
2020-09-10 10:24:23 -04:00
Nick
979a5bffff
fix(rgb): check if settings enabled
2020-08-23 15:56:18 -05:00
Nick
c5c21022a2
Move settings load
2020-08-23 10:33:19 -05:00
Nick
74fd4fc997
fix(rgb): fix underglow settings location
2020-08-20 21:13:17 -05:00
Nick
3ee2d1196b
feat(rgb): underglow state Kconfig and settings
2020-08-20 00:07:04 -05:00
Nick
dc8c7011b1
If LED strip can't be found, behaviors return err
2020-07-26 12:49:43 -05:00
Nick
564f787280
Add suggested changes
2020-07-25 14:53:42 -05:00
Nick
ca569c8143
Initial RGB Underglow implementation
2020-07-24 22:37:00 -05:00
Nick
bb09707bd2
Add base files and configuration for RGB underglow
2020-07-24 01:06:56 -05:00