Commit Graph

5247 Commits

Author SHA1 Message Date
Adam Honse
cf990ece4e 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-06-03 10:10:27 -05:00
Adam Honse
ee52d2a7b0 Have dummy controller shut down its background thread immediately during constructor to save resources 2026-06-03 10:10:27 -05:00
Adam Honse
a884aca165 DeviceView code cleanup, formatting, commenting 2026-06-03 10:10:27 -05:00
Adam Honse
464a590865 Fix selecting LEDs in device view 2026-06-03 10:10:27 -05:00
Adam Honse
98767252e6 TabLabel sets its own tooltip so all tabs have a tooltip rather than just devices 2026-06-03 10:10:27 -05:00
Adam Honse
cbead40b32 Resize tabs when width is small 2026-06-03 10:10:27 -05:00
Adam Honse
b4be3b1a88 Rework adding segments with ConfigureZone 2026-06-03 10:10:27 -05:00
Adam Honse
67c2e53221 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-06-03 10:10:27 -05:00
Adam Honse
4b90142d84 Add matrix map automatic generation to matrix map editor 2026-06-03 10:10:27 -05:00
Adam Honse
e3408ee9d0 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-06-03 10:10:27 -05:00
Adam Honse
643bfa880f 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-06-03 10:10:27 -05:00
Adam Honse
f370eb79b4 When saving sizes/manual configuration, keep any existing controllers that are not currently available 2026-06-03 10:10:27 -05:00
Adam Honse
0e45370b76 Rework how manual configuration (previously sizes) are loaded to newly detected controllers, load active profile to newly detected controllers 2026-06-03 10:10:26 -05:00
Adam Honse
73ef9f5fb2 Profile editor dialog 2026-06-03 10:10:26 -05:00
Adam Honse
95512d56f1 Rework API interface passed into plugins from ResourceManagerInterface to OpenRGBPluginAPIInterface 2026-06-03 10:10:26 -05:00
Adam Honse
405869fefe [next] Active profile tracking 2026-06-03 10:10:26 -05:00
Adam Honse
526d0bd2ca Apply profiles server-side rather than client-side, signal active profile update, forward loaded profile to local client for plugins 2026-06-03 10:10:26 -05:00
Adam Honse
1b5a1aa561 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-06-03 10:10:26 -05:00
Adam Honse
8bafba65fd 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-06-03 10:10:26 -05:00
Adam Honse
b26e3f25fd Add detectors for filtering on IPU only (no VID/PID) 2026-06-03 10:10:26 -05:00
Adam Honse
9c8c57cc39 Drop support for old hidapi versions that don't support usage information 2026-06-03 10:10:26 -05:00
Adam Honse
d358f1d2da Add some validity checks to mode setters and getters in RGBController 2026-06-03 10:10:26 -05:00
Adam Honse
f4cd06df38 [next] SDK v6: Implement client and server flags to indicate capabilities and... 2026-06-03 10:10:26 -05:00
Adam Honse
15d2c30fa6 SDK documentation updates 2026-06-03 10:10:26 -05:00
Adam Honse
4f3eb52e18 Expose LogManager in ResourceManager so that plugins can use it 2026-06-03 10:10:26 -05:00
Adam Honse
4c52e4bfba Update NetworkClient to use log manager and use common name constant in server logs 2026-06-03 10:10:26 -05:00
Adam Honse
d586324885 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-06-03 10:10:26 -05:00
Adam Honse
5dd0c18194 Add optional HID device hotplug support (requires https://gitlab.com/OpenRGBDevelopers/hidapi-hotplug) 2026-06-03 10:10:26 -05:00
Adam Honse
f6f3633ec0 SDK v6: Use unique IDs for identifying RGBControllers in SDK protocol 2026-06-03 10:10:26 -05:00
Adam Honse
985120903b Rework list handling in ResourceManager by having NetworkClient own its own list rather than sharing ResourceManager's list 2026-06-03 10:10:26 -05:00
Adam Honse
614f95a30a Move HID detector calls to RunHIDDetector/RunHIDWrappedDetector functions and return controller list from detector functions 2026-06-03 10:10:26 -05:00
Adam Honse
f732f57a4c Detection progress SDK integration, NetworkClient callback rework 2026-06-03 10:10:25 -05:00
Adam Honse
7b299d7d7f 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-06-03 10:09:40 -05:00
Adam Honse
ab3edd6df5 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-06-03 00:15:49 -05:00
Adam Honse
e6d1c37306 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-06-03 00:15:49 -05:00
Adam Honse
b083537b36 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-06-03 00:15:21 -05:00
Adam Honse
0c431c8340 Move plugin SDK integration from callback into plugin API and PluginManager 2026-06-02 22:45:08 -05:00
Adam Honse
e606b57acd Update Plugin API to 5 and SDK Protocol to 6 2026-06-02 22:45:08 -05:00
Adam Honse
77c70776cb 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-06-02 22:45:08 -05:00
Adam Honse
cf79a04f05 Revert "Nollie 2.1 firmware for Master"
This reverts commit 07e7feca56.
2026-06-02 22:45:08 -05:00
Adam Honse
3dc1365d39 Add PowerShell implementation of build-msi for building MSI on Windows, add additional information about PawnIO and the OpenRGB system service to the installer. 2026-06-02 22:07:17 -05:00
Adam Honse
b03cd94ae8 Fix incorrect firmware packet format and add timeouts to HID reads in ThermaltakeRiingController 2026-06-02 01:07:33 -05:00
Jefferson González
bbf348d273 Add HyperX Eve 1800 keyboard support 2026-06-02 00:15:19 -05:00
David Glushkov
dce48eb415 Add MSI Raider A18 HX A9WJG SteelSeries RGB 2026-06-02 00:05:18 -05:00
Ox HaK
decf14635d Add Fnatic Streak65 support 2026-06-01 08:27:17 -05:00
Richard Harris
db4f49bbba Implement Direct mode support for Roccat Vulcan TKL (non-Pro) 2026-05-31 12:38:57 -05:00
HorrorTroll
26824fcb6e Added support for Colorful iGame GeForce RTX 5060 Ultra W OC 2026-05-31 15:12:36 +07:00
Jerry Fan
8afad91b33 Add support for RealtekBridgeController 2026-05-29 07:46:22 -05:00
Adam Honse
69de0b13c4 Update PawnIO modules to 0.2.6 and enable Intel Skylake IMC SMBus module 2026-05-28 23:48:42 -05:00
alstruit
967153bc10 Add support for ASUS ROG Gladius III Core 2026-05-25 12:08:43 -05:00