5175 Commits

Author SHA1 Message Date
诺诺
257e9ca867 Add Nollie controller OS2.1 2026-04-03 16:23:06 -05:00
Adam Honse
54f16cea9d Initial implementation of OpenRGB SDK protocol Wireshark dissector 2026-04-03 16:23:06 -05:00
Adam Honse
f0628d362a Add ACK to network packets processed by NetworkServer 2026-04-03 16:23:06 -05:00
Adam Honse
a54ba48f33 Only update device view when RGBController::UpdateLEDs signal is sent to OpenRGBDevicePage, fix device view not refreshing if multiple LEDs are selected 2026-04-03 16:23:06 -05:00
Adam Honse
df1d9784e3 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-03 16:23:06 -05:00
Adam Honse
c92c4ab2c8 Have dummy controller shut down its background thread immediately during constructor to save resources 2026-04-03 16:23:06 -05:00
Adam Honse
6dd67192cb DeviceView code cleanup, formatting, commenting 2026-04-03 16:23:06 -05:00
Adam Honse
fd9425e071 Fix selecting LEDs in device view 2026-04-03 16:23:06 -05:00
Adam Honse
fddf3d6606 TabLabel sets its own tooltip so all tabs have a tooltip rather than just devices 2026-04-03 16:23:06 -05:00
Adam Honse
a1cca02b9c Resize tabs when width is small 2026-04-03 16:23:06 -05:00
Adam Honse
db7bd56d18 Rework adding segments with ConfigureZone 2026-04-03 16:23:06 -05:00
Adam Honse
02b9f3b299 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-03 16:22:50 -05:00
Adam Honse
3cffbd45b5 Add matrix map automatic generation to matrix map editor 2026-04-03 13:46:35 -05:00
Adam Honse
2b93788fe3 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-03 13:46:35 -05:00
Adam Honse
2a401e038c 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-03 13:46:35 -05:00
Adam Honse
a35e1fb057 When saving sizes/manual configuration, keep any existing controllers that are not currently available 2026-04-03 13:46:35 -05:00
Adam Honse
f2a30845f6 Rework how manual configuration (previously sizes) are loaded to newly detected controllers, load active profile to newly detected controllers 2026-04-03 13:46:35 -05:00
Adam Honse
7d9e5aca29 Profile editor dialog 2026-04-03 13:46:34 -05:00
Adam Honse
eb7640495b Rework API interface passed into plugins from ResourceManagerInterface to OpenRGBPluginAPIInterface 2026-04-03 13:46:34 -05:00
Adam Honse
1e16803e7a [next] Active profile tracking 2026-04-03 13:46:34 -05:00
Adam Honse
660ff71bf7 Apply profiles server-side rather than client-side, signal active profile update, forward loaded profile to local client for plugins 2026-04-03 13:46:34 -05:00
Adam Honse
6c26858823 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-03 13:46:34 -05:00
Adam Honse
729d97f8be 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-03 13:46:34 -05:00
Adam Honse
9a8699c831 Add detectors for filtering on IPU only (no VID/PID) 2026-04-03 13:46:34 -05:00
Adam Honse
b837e3ed4f Drop support for old hidapi versions that don't support usage information 2026-04-03 13:46:34 -05:00
Adam Honse
a5526dd876 Add some validity checks to mode setters and getters in RGBController 2026-04-03 13:46:34 -05:00
Adam Honse
6843db0a65 [next] SDK v6: Implement client and server flags to indicate capabilities and... 2026-04-03 13:46:34 -05:00
Adam Honse
facd39b953 SDK documentation updates 2026-04-03 13:46:34 -05:00
Adam Honse
9c5c7cb5af Expose LogManager in ResourceManager so that plugins can use it 2026-04-03 13:46:34 -05:00
Adam Honse
b1b82e45bb Update NetworkClient to use log manager and use common name constant in server logs 2026-04-03 13:46:34 -05:00
Adam Honse
4598c9ae55 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-03 13:46:34 -05:00
Adam Honse
514feb51fd Add optional HID device hotplug support (requires https://gitlab.com/OpenRGBDevelopers/hidapi-hotplug) 2026-04-03 13:46:34 -05:00
Adam Honse
4c1fbb27de SDK v6: Use unique IDs for identifying RGBControllers in SDK protocol 2026-04-03 13:46:34 -05:00
Adam Honse
b5bc8f2630 Rework list handling in ResourceManager by having NetworkClient own its own list rather than sharing ResourceManager's list 2026-04-03 13:46:34 -05:00
Adam Honse
03f0977205 Move HID detector calls to RunHIDDetector/RunHIDWrappedDetector functions and return controller list from detector functions 2026-04-03 13:46:34 -05:00
Adam Honse
04123aa969 Detection progress SDK integration, NetworkClient callback rework 2026-04-03 13:46:34 -05:00
Adam Honse
b19fac380b Split out detection system from ResourceManager into DetectionManager
* Split detection system out into its own class, DetectionManager
    * Clean up ResourceManger's many callbacks into just two, one for detection and one general purpose
2026-04-03 13:46:34 -05:00
Adam Honse
a210ee353e SDK Version 6 Updates
* SDK Protocol
    * Server sends its name to client
    * ProfileManager
      * Rename existing profile commands
      * Add Upload Profile, Download Profile, and Get Active Profile commands
    * SettingsManager
      * Add Get, Set, and Save Settings commands
    * Add zone::active_mode, zone::mode fields for zone-specific modes
    * Add NET_PACKET_ID_RGBCONTROLLER_UPDATEZONEMODE packet for updating zone modes
    * Add segment::matrix_map to segment packet
    * Add NET_PACKET_ID_RGBCONTROLLER_SIGNALUPDATE packet for passing SignalUpdate signal from server to clients
  * NetworkServer
    * Formatting cleanup
    * Use per-controller threads for handling NetworkServer controller-specific packets to avoid delays from controller mutexes
  * NetworkClient
    * Formatting cleanup
  * RGBController
    * Clean up and modularize descriptor functions
2026-04-03 13:46:34 -05:00
Adam Honse
fe2c8ae205 Rework Profiles to use JSON format
* Update OpenRGB Plugin Interface to include functions for loading/saving profile JSON data into OpenRGB profiles
    * Update ProfileManager to handle auto-load profiles (Exit, Open, Resume, Suspend) and move their settings to ProfileManager section
    * Update ProfileManager to store profiles in "profiles" folder in .json format
    * Update ProfileManager to store size profile in sizes.json
    * Update ProfileManager to perform device UpdateMode/UpdateColors when loading profile
    * Code cleanup of ProfileManager and profile-related code
2026-04-03 13:46:34 -05:00
Adam Honse
dfd8656d9f RGBController API Overhaul
* Reorganize and clean up RGBController API functions
    * Add functions to get protected RGBController member values
    * Make NetworkClient, ProfileManager, and ResourceManager friend classes so they can access protected members
    * Protected previously-public RGBController members
        * Information strings (name, vendor, description, version, serial location)
        * Device type
        * Active mode
        * Flags
        * LEDs vector
        * LED alternate names vector
        * Modes vector
        * Colors vector
        * Zones vector
    * Add CONTROLLER_FLAG_HIDDEN to allow plugins to hide controllers from control GUI
    * Add update reason codes to RGBController update callback and signal updates on more RGBController events
    * Add loop zone types and segmented zone type
    * Add matrix map field to segments
    * Rework matrix_map_type from using pointers to vector to prevent memory leaks
    * Rework KeyboardLayoutManager to return new matrix_map_type
    * Add access mutex to RGBController API
    * Add per-zone modes ot RGBController API
    * Add JSON description functions to RGBController API
2026-04-03 13:46:34 -05:00
Adam Honse
fa20f4319a Move plugin SDK integration from callback into plugin API and PluginManager 2026-04-03 13:46:34 -05:00
Adam Honse
ff9e8aff33 Update Plugin API to 5 and SDK Protocol to 6 2026-04-03 13:46:34 -05:00
Adam Honse
3442da2645 Update default builds to Qt6
* Update Debian packages to use Qt6
  * Update Fedora packages to use Qt6
  * Update default AppImage builds to use Qt6
  * Update default Windows builds to use Qt6
  * Update default MacOS builds to use Qt6
2026-04-03 13:46:34 -05:00
Micael Pereira
d41a115a07 Add support for MSI PRO A620M-B (MS-7E28) 2026-04-03 01:31:28 -05:00
Elijah Mock
2640a3b93f Update docstring detector to match registered detector 2026-03-26 21:50:02 -05:00
Adam Honse
984c18cb11 Add Gigabyte 9070XT GAMING OC ICE 2026-03-23 16:44:30 -05:00
Adam Honse
23db15dfb9 Add support for E6K5-1114 ENE device 2026-03-23 11:46:04 -05:00
Org van Rensburg
9426f954b0 Add support for MSI MAG Z890 Tomahawk WIFI (MS-7E32) - Resolves #5438 2026-03-23 07:24:22 -05:00
asheriif
133b64778b Add support for Apex Pro TKL Gen 3 Wireless 2026-03-22 22:19:37 +01:00
Aakrisht Sharma Paudel
a8a97fa38d Legion 5 gen10 2026-03-17 07:50:23 -05:00