zmk/app/include/zmk
afiqzudinhadi 8f3c4d3929 refactor: modular RGB effect registration API
Replace hardcoded effect enum/switch-case with STRUCT_SECTION_ITERABLE
registration. Effects register via ZMK_RGB_EFFECT_DEFINE macro.

Core API (rgb_effect.h):
- zmk_rgb_effect_ctx passed to render callbacks
- zmk_rgb_request_refresh() for static effects
- ZMK_RGB_EFFECT_STATIC flag skips animation timer
- on_select/on_deselect lifecycle hooks
- zmk_rgb_hsb_to_rgb/scale helpers now public

Built-in effects (solid/breathe/spectrum/swirl) use same API.
Per-key layer RGB, behaviors, DTS bindings extracted to external
zmk-rgb-effects module.
2026-07-01 14:29:24 +08:00
..
ble refactor: Move to zephyr/ include paths. 2023-04-05 22:55:38 -07:00
display refactor: Move to zephyr/ include paths. 2023-04-05 22:55:38 -07:00
events refactor: modular RGB effect registration API 2026-07-01 14:29:24 +08:00
pointing feat(mouse): Add mouse move and scroll support (#2477) 2024-12-09 19:45:41 -05:00
split underglow-layer: enable only if config exists in devicetree 2026-06-24 18:55:49 +08:00
studio feat(keymap): Add binding get/set, layer movement 2024-09-05 12:22:08 -06:00
activity.h lint: add (void) parameter to pass -Wstrict-prototypes 2024-01-05 12:16:38 -08:00
backlight.h lint: add (void) parameter to pass -Wstrict-prototypes 2024-01-05 12:16:38 -08:00
battery.h lint: add (void) parameter to pass -Wstrict-prototypes 2024-01-05 12:16:38 -08:00
behavior.h refactor: Condition source props on CONFIG_ZMK_SPLIT 2024-09-23 10:17:29 -06:00
behavior_queue.h refactor: Condition source props on CONFIG_ZMK_SPLIT 2024-09-23 10:17:29 -06:00
ble.h RGB underglow status support 2026-06-24 18:53:46 +08:00
combos.h chore: Add trailing lines to fix build warnings (#2743) 2025-01-02 08:58:49 -07:00
display.h chore: fix typos in various places 2024-05-13 16:47:33 -04:00
endpoints.h RGB underglow status support 2026-06-24 18:53:46 +08:00
endpoints_types.h refactor: Split endpoint to transport and instance 2023-10-02 22:03:08 -07:00
event_manager.h feat(core): Support adding subs to other listeners. 2024-06-28 14:36:25 -06:00
hid.h fix(ble,hid): Fix smooth scrolling over BLE (#2998) 2025-07-20 09:13:18 -06:00
hid_indicators.h refactor: Move to zmk_hid_indicators_t type. 2023-11-27 16:03:18 -08:00
hid_indicators_types.h refactor: Move to zmk_hid_indicators_t type. 2023-11-27 16:03:18 -08:00
hog.h feat(mouse): Add mouse move and scroll support (#2477) 2024-12-09 19:45:41 -05:00
input.h feat(mouse): Add mouse move and scroll support (#2477) 2024-12-09 19:45:41 -05:00
input_listeners.h chore: Add trailing lines to fix build warnings (#2743) 2025-01-02 08:58:49 -07:00
keymap.h refactor(keymap): Reduce flash usage for studio builds (#2771) 2025-01-15 16:51:26 -05:00
keys.h refactor: Move to zephyr/ include paths. 2023-04-05 22:55:38 -07:00
matrix.h fix(core): Warn only with layouts + chosen transform 2024-09-19 13:12:17 -06:00
matrix_transform.h feat: Add keyboard physical layout system. 2024-07-03 16:52:05 -06:00
physical_layouts.h feat(core): Make physical layout key rotation optional (#2770) 2025-01-15 16:48:18 -05:00
pm.h fix: Adjustments for Zephyr 3.5. 2024-03-27 20:59:26 -07:00
pointing.h feat(mouse): Add mouse move and scroll support (#2477) 2024-12-09 19:45:41 -05:00
rgb_effect.h refactor: modular RGB effect registration API 2026-07-01 14:29:24 +08:00
rgb_underglow.h underglow-layer: Don't save state on idle/resume & register activity on layer change 2026-06-24 18:55:49 +08:00
sensors.h feature(split): add support for sensors from peripheral 2023-08-27 19:52:03 -07:00
settings.h feat: Add function to erase all settings 2024-03-18 09:48:19 -07:00
stdlib.h refactor(splits): Minor cleanups to periph invocation 2022-01-31 23:03:34 -05:00
usb.h fix(usb): detect USB power mode to fallback to BLE 2024-10-14 19:15:45 -04:00
usb_hid.h feat(mouse): Add mouse move and scroll support (#2477) 2024-12-09 19:45:41 -05:00
virtual_key_position.h Feature: input processor behavior invocation (#2714) 2024-12-17 20:50:06 -05:00
workqueue.h lint: add (void) parameter to pass -Wstrict-prototypes 2024-01-05 12:16:38 -08:00
wpm.h feat: Add WPM calculator and display widget 2021-01-23 18:38:31 -05:00