Define portable device profile schema #96
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/issue-66-device-profile-schema"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #66.
Summary
Implemented the minimal portable
device_profile.jsonschema foundation for the v1.1.0 RGB Aura device/profile work.This PR adds:
schemas/device_profile.schema.jsonrole,enabled, and zonelayout.ignored,reserved, andunknownroles.linearunknownfanmotherboardgpukeyboardmousememoryunknownconfig/device_profile.example.jsonconfig/device_map.json.reserved+enabled: falseignored+enabled: falseignored+enabled: falseignored+enabled: falsesrc/rgb_aura/device_profile.pyusable_animation_zones, excluding disabled, ignored, reserved, and unknown zones.tests/test_device_profile.pySafety / scope
This PR targets
develop.This PR does not change runtime behavior.
config/device_map.jsonremains the current runtime source of truth. No OpenRGB hardware access, writer logic, runtime startup behavior, animation behavior, shutdown restore behavior, systemd ordering, or service behavior is changed.Ignored/reserved devices and zones are explicitly representable without being treated as controlled animation targets.
Hardware verification is not required for this PR because it only adds schema/profile validation helpers and does not touch runtime hardware behavior.
Verification
Ran:
Result: