Commit Graph

5236 Commits

Author SHA1 Message Date
Adam Honse
c0826fbe83 Settings Rework
* Add JSON string configuration field to RGBController to store device-specific configurations
    * This JSON string holds both configuration and schema
    * Add settings schema tracking to SettingsManager
    * Implement dynamic settings widget that generates a settings UI based on a JSON schema
    * Implement SettingsManager callback for notifying of settings changes and settings schema updates
    * Always enable Entire Device zone option and use it to enable Edit Device
    * Rename SaveSizes to SaveConfiguration in ProfileManager and Sizes.json to Configuration.json
    * Add zone flag for indicating that a zone's geometry may change, informing profile manager to ignore this check
    * Remove Theme setting and Theme Manager, as this didn't work on most setups anyways and Qt6 has proper Windows dark theming
2026-05-04 22:50:47 -05:00
Dmitry Kychanov
128dd8ef94 Fix losing software info upon changing language [next] 2026-04-24 11:36:41 -05:00
Dmitry Kychanov
402adaf7b0 Fix device tabs not applying compact mode when hotplugging 2026-04-24 11:36:41 -05:00
Adam Honse
c7c92d0647 Close SDK connection if magic value is not correctly received 2026-04-24 11:36:41 -05:00
Adam Honse
d425d68df8 Implement size verification on RGBController set description functions 2026-04-24 11:36:41 -05:00
Adam Honse
e27ba21d80 Clean up zone initialization dialog 2026-04-24 11:36:41 -05:00
Adam Honse
8755c829f5 Require local client permission for DeleteProfile, SaveProfile, UploadProfile, SetSettings, and SaveSettings operations, some general cleanup 2026-04-24 11:36:41 -05:00
Adam Honse
37db5794cd Sanitize profile filenames 2026-04-24 11:36:41 -05:00
Adam Honse
08a9e21114 Add RescanDevices to plugin API 2026-04-24 11:36:41 -05:00
Adam Honse
f49d6c42b1 Implement segment groups in zone editor 2026-04-24 11:36:41 -05:00
Adam Honse
51788536c1 Rework server initialization
* Only create server instance if server is actually needed
    * Pass initial server host and port through ResourceManager
    * Allow setting default server host and port in Server settings
2026-04-24 11:36:41 -05:00
stephen iacovelli
7d71ed9a8a Sort profiles list alphabetically 2026-04-24 11:36:41 -05:00
Adam Honse
9e09832ded Organize OpenRGBSettingsPage with Group Boxes 2026-04-24 11:36:41 -05:00
Kasslim
fee84d74a5 Correct spelling Busses -> Buses
Commits merged by Adam Honse <calcprogrammer1@gmail.com>
2026-04-24 11:36:41 -05:00
诺诺
26b7a2ab86 Add Nollie controller OS2.1 2026-04-24 11:36:41 -05:00
Adam Honse
0ba6b04f86 Initial implementation of OpenRGB SDK protocol Wireshark dissector 2026-04-24 11:36:41 -05:00
Adam Honse
a208bb0fc2 Add ACK to network packets processed by NetworkServer 2026-04-24 11:36:41 -05:00
Adam Honse
9d7b590965 Only update device view when RGBController::UpdateLEDs signal is sent to OpenRGBDevicePage, fix device view not refreshing if multiple LEDs are selected 2026-04-24 11:36:41 -05:00
Adam Honse
2613bd50a5 Don't emit selection update on mouse click event to avoid sending unnecessary events, also only send one type of event per mouse release event. Fix LED box not being updated 2026-04-24 11:36:41 -05:00
Adam Honse
40a5f5159a Have dummy controller shut down its background thread immediately during constructor to save resources 2026-04-24 11:36:41 -05:00
Adam Honse
92e851d596 DeviceView code cleanup, formatting, commenting 2026-04-24 11:36:41 -05:00
Adam Honse
a904754f2a Fix selecting LEDs in device view 2026-04-24 11:36:41 -05:00
Adam Honse
a1729222bc TabLabel sets its own tooltip so all tabs have a tooltip rather than just devices 2026-04-24 11:36:41 -05:00
Adam Honse
8becefdd3b Resize tabs when width is small 2026-04-24 11:36:41 -05:00
Adam Honse
4bfe5e733b Rework adding segments with ConfigureZone 2026-04-24 11:36:41 -05:00
Adam Honse
70ece92ff7 Zone and Segment type updates
* Add zone flags to indicate if fields are manually configurable and if they have been manually configured
  * Add flags field to segment type
  * Add segment flags for group start and group member
  * Add color mode support flags to zone (RGB, RBG, GRB, GBR, BRG, BGR)
  * Add color mode enum to zone
  * Update zone and segment description functions to support new fields
  * Rename the effects-only configurable size flag
  * Remove zone type and matrix map configuration from E1.31 manual configuration, use zone editor instead
  * Rework DeviceResizeZone to DeviceConfigureZone
  * Rework most ARGB controllers to allow zone customizations
  * Rework DRGBController to define devices in DRGBDevices list (similar to RazerDevices)
  * Rework NollieController to define devices in NollieDevices list (similar to RazerDevices)
2026-04-24 11:36:41 -05:00
Adam Honse
2b1b4cff9b Add matrix map automatic generation to matrix map editor 2026-04-24 11:36:41 -05:00
Adam Honse
2995016231 RGBController API changes and segment configuration updates
* Make the Get/Set RGBControler descriptor functions static
  * Add functions for getting the matrix_map_type for zone and segment matrix maps
  * Rename zone resize dialog to zone editor dialog
  * Add additional segment types
  * Add option to import segments configuration from JSON file in zone editor dialog
  * Update device view to be able to display matrix segment types
  * Add matrix map editor dialog for creating/editing segment matrix maps
  * Add option to export segments configuration to JSON file in zone editor dialog
2026-04-24 11:36:41 -05:00
Adam Honse
a60f5b4535 When updating existing profile without profile editor dialog, keep saved states for unavailable controllers, base color, and only update plugins already part of the existing profile 2026-04-24 11:36:41 -05:00
Adam Honse
974c533bf2 When saving sizes/manual configuration, keep any existing controllers that are not currently available 2026-04-24 11:36:41 -05:00
Adam Honse
73263c0531 Rework how manual configuration (previously sizes) are loaded to newly detected controllers, load active profile to newly detected controllers 2026-04-24 11:36:41 -05:00
Adam Honse
699ab35df3 Profile editor dialog 2026-04-24 11:36:41 -05:00
Adam Honse
eb496cb236 Rework API interface passed into plugins from ResourceManagerInterface to OpenRGBPluginAPIInterface 2026-04-24 11:36:41 -05:00
Adam Honse
d0fdb1dfb3 [next] Active profile tracking 2026-04-24 11:36:40 -05:00
Adam Honse
64e2f514f5 Apply profiles server-side rather than client-side, signal active profile update, forward loaded profile to local client for plugins 2026-04-24 11:36:40 -05:00
Adam Honse
0801c2382e Split HID and wrapped HID detector lists into specific detectors (with exact VID/PID matching) and generic detectors (with only IPU matching) and prioritize specific detectors when detecting HID devices 2026-04-24 11:36:40 -05:00
Adam Honse
a63ab37bd3 Move RGBController base destructor functionality into RGBController::Shutdown() so that update thread can be stopped before deleting the controller. Shutdown() must be called in every RGBController implementation before deleting the controller. Also some fixes to the NetworkServer to avoid deadlocking and disconnect issues 2026-04-24 11:36:40 -05:00
Adam Honse
162fb73597 Add detectors for filtering on IPU only (no VID/PID) 2026-04-24 11:36:40 -05:00
Adam Honse
be65294440 Drop support for old hidapi versions that don't support usage information 2026-04-24 11:36:40 -05:00
Adam Honse
3dfab7fcec Add some validity checks to mode setters and getters in RGBController 2026-04-24 11:36:40 -05:00
Adam Honse
06d56d6943 [next] SDK v6: Implement client and server flags to indicate capabilities and... 2026-04-24 11:36:40 -05:00
Adam Honse
69dafecc2e SDK documentation updates 2026-04-24 11:36:40 -05:00
Adam Honse
4194360d62 Expose LogManager in ResourceManager so that plugins can use it 2026-04-24 11:36:40 -05:00
Adam Honse
0a968e9433 Update NetworkClient to use log manager and use common name constant in server logs 2026-04-24 11:36:40 -05:00
Adam Honse
43356008d0 Use std::string.assign when setting strings in the SDK protocol and description handlers so that string size limit is enforced, then strip out null terminators 2026-04-24 11:36:40 -05:00
Adam Honse
c3b4bb378d Add optional HID device hotplug support (requires https://gitlab.com/OpenRGBDevelopers/hidapi-hotplug) 2026-04-24 11:36:23 -05:00
Adam Honse
484ffe88b0 SDK v6: Use unique IDs for identifying RGBControllers in SDK protocol 2026-04-24 11:32:03 -05:00
Adam Honse
6611cfe1fc Rework list handling in ResourceManager by having NetworkClient own its own list rather than sharing ResourceManager's list 2026-04-24 11:32:03 -05:00
Adam Honse
e325f7cdab Move HID detector calls to RunHIDDetector/RunHIDWrappedDetector functions and return controller list from detector functions 2026-04-24 11:32:03 -05:00
Adam Honse
9e2afdd1e7 Detection progress SDK integration, NetworkClient callback rework 2026-04-24 11:32:03 -05:00