Skip to content

Commit 8d8f982

Browse files
Standardize provider file layout: move Hue + PlayStation into subfolders (v4.1.32)
LIFX already lived under Devices/LIFX/ with its provider co-located with the rest of its files. Hue and PlayStation had their providers at the Devices/ root level instead (Hue: namespace was already .Hue but the file was in the wrong folder; PlayStation: namespace was the parent .Devices). Moving both providers into their dedicated subfolders + the PlayStation namespace correction so all three custom providers follow the same shape: Devices/Hue/HueRGBDeviceProvider.cs (namespace already .Hue) Devices/PlayStation/PlayStationControllerRGBDeviceProvider.cs (namespace .Devices -> .PlayStation) Devices/LIFX/LifxRGBDeviceProvider.cs (already in place) Updated three call sites that resolved PlayStationControllerRGBDeviceProvider through the parent namespace to add a `using ...PlayStation;`: RGBController, SettingsViewModel, DecoratorHarnessUI.MainViewModel. Used `git mv` so source history follows the file. No behaviour change; build clean, 130/130 tests pass. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent bba7364 commit 8d8f982

9 files changed

Lines changed: 12 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All notable changes to Chromatics are documented here.
44

5-
## 4.1.31
5+
## 4.1.32
66

77
- Added Auto-discovery for Hue bridges.
88
- Updated Hue light adoption. After pairing, Chromatics shows a picker so you can choose exactly which Hue lights it should control. Existing setups upgraded from earlier builds keep all their bulbs (one-time auto-adopt of whatever the bridge currently exposes); from then on you can deselect bulbs you don't want from the same dialog.

Chromatics.DecoratorHarnessUI/MainViewModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using Chromatics.Extensions.RGB.NET.Decorators;
88
using Chromatics.Extensions.RGB.NET.Devices;
99
using Chromatics.Extensions.RGB.NET.Devices.LIFX;
10+
using Chromatics.Extensions.RGB.NET.Devices.PlayStation;
1011
using RGB.NET.Core;
1112
using RGB.NET.Presets.Decorators;
1213
using RGB.NET.Presets.Textures;

Chromatics/Chromatics.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<OutputType>WinExe</OutputType>
55
<TargetFramework>net10.0-windows7.0</TargetFramework>
66
<StartupObject>Chromatics.Program</StartupObject>
7-
<Version>4.1.31.0</Version>
7+
<Version>4.1.32.0</Version>
88
<Authors>Danielle Thompson</Authors>
99
<ApplicationManifest>app.manifest</ApplicationManifest>
1010
<Copyright>logicallysynced 2026</Copyright>

Chromatics/Core/RGBController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using Chromatics.Extensions.RGB.NET.Devices;
33
using Chromatics.Extensions.RGB.NET.Devices.Hue;
44
using Chromatics.Extensions.RGB.NET.Devices.LIFX;
5+
using Chromatics.Extensions.RGB.NET.Devices.PlayStation;
56
using Chromatics.Helpers;
67
using Chromatics.Layers;
78
using Chromatics.Models;

Chromatics/Extensions/RGB.NET/Devices/HueRGBDeviceProvider.cs renamed to Chromatics/Extensions/RGB.NET/Devices/Hue/HueRGBDeviceProvider.cs

File renamed without changes.

Chromatics/Extensions/RGB.NET/Devices/PlayStationControllerRGBDeviceProvider.cs renamed to Chromatics/Extensions/RGB.NET/Devices/PlayStation/PlayStationControllerRGBDeviceProvider.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Chromatics.Core;
2-
using Chromatics.Extensions.RGB.NET.Devices.PlayStation;
32
using HidSharp;
43
using RGB.NET.Core;
54
using System;
@@ -9,7 +8,7 @@
98
using System.Text;
109
using System.Threading.Tasks;
1110

12-
namespace Chromatics.Extensions.RGB.NET.Devices
11+
namespace Chromatics.Extensions.RGB.NET.Devices.PlayStation
1312
{
1413
// Custom RGB.NET device provider for Sony's PlayStation controllers — DualShock 4
1514
// (PS4) and DualSense / DualSense Edge (PS5). Talks raw HID via HidSharp; no

Chromatics/ViewModels/SettingsViewModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
using Chromatics.Extensions.RGB.NET.Devices;
77
using Chromatics.Extensions.RGB.NET.Devices.Hue;
88
using Chromatics.Extensions.RGB.NET.Devices.LIFX;
9+
using Chromatics.Extensions.RGB.NET.Devices.PlayStation;
910
using Chromatics.Models;
1011
using Chromatics.Helpers;
1112
using Chromatics.Views;

Chromatics/obj/Chromatics.csproj.nuget.dgspec.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66
"projects": {
77
"D:\\Git Projects\\roxaskeyheart\\Chromatics Workbench\\Chromatics\\Chromatics\\Chromatics.csproj": {
8-
"version": "4.1.31",
8+
"version": "4.1.32",
99
"restore": {
1010
"projectUniqueName": "D:\\Git Projects\\roxaskeyheart\\Chromatics Workbench\\Chromatics\\Chromatics\\Chromatics.csproj",
1111
"projectName": "Chromatics",
@@ -31,6 +31,7 @@
3131
},
3232
"frameworks": {
3333
"net10.0-windows7.0": {
34+
"framework": "net10.0-windows7.0",
3435
"targetAlias": "net10.0-windows7.0",
3536
"projectReferences": {}
3637
}
@@ -49,6 +50,7 @@
4950
},
5051
"frameworks": {
5152
"net10.0-windows7.0": {
53+
"framework": "net10.0-windows7.0",
5254
"targetAlias": "net10.0-windows7.0",
5355
"dependencies": {
5456
"Avalonia": {

Chromatics/obj/project.assets.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3697,7 +3697,7 @@
36973697
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
36983698
},
36993699
"project": {
3700-
"version": "4.1.31",
3700+
"version": "4.1.32",
37013701
"restore": {
37023702
"projectUniqueName": "D:\\Git Projects\\roxaskeyheart\\Chromatics Workbench\\Chromatics\\Chromatics\\Chromatics.csproj",
37033703
"projectName": "Chromatics",
@@ -3723,6 +3723,7 @@
37233723
},
37243724
"frameworks": {
37253725
"net10.0-windows7.0": {
3726+
"framework": "net10.0-windows7.0",
37263727
"targetAlias": "net10.0-windows7.0",
37273728
"projectReferences": {}
37283729
}
@@ -3741,6 +3742,7 @@
37413742
},
37423743
"frameworks": {
37433744
"net10.0-windows7.0": {
3745+
"framework": "net10.0-windows7.0",
37443746
"targetAlias": "net10.0-windows7.0",
37453747
"dependencies": {
37463748
"Avalonia": {

0 commit comments

Comments
 (0)