Commit Graph

5154 Commits

Author SHA1 Message Date
Adam Honse
0be66de6f4 Rework how manual configuration (previously sizes) are loaded to newly detected controllers, load active profile to newly detected controllers 2026-03-23 01:33:55 -05:00
Adam Honse
2095573dcc Profile editor dialog 2026-03-23 01:33:55 -05:00
Adam Honse
ebdedd8802 Rework API interface passed into plugins from ResourceManagerInterface to OpenRGBPluginAPIInterface 2026-03-23 01:33:55 -05:00
Adam Honse
f32cbfdf12 [next] Active profile tracking 2026-03-23 01:33:55 -05:00
Adam Honse
7ee655f56f Apply profiles server-side rather than client-side, signal active profile update, forward loaded profile to local client for plugins 2026-03-23 01:33:54 -05:00
Adam Honse
e3382d5439 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-03-23 01:33:54 -05:00
Adam Honse
a99f43238d 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-03-23 01:33:54 -05:00
Adam Honse
0c2e4c4825 Add detectors for filtering on IPU only (no VID/PID) 2026-03-23 01:33:54 -05:00
Adam Honse
1d6fe5ac0a Drop support for old hidapi versions that don't support usage information 2026-03-23 01:33:54 -05:00
Adam Honse
9895d36761 Add some validity checks to mode setters and getters in RGBController 2026-03-23 01:33:54 -05:00
Adam Honse
317e516f0e [next] SDK v6: Implement client and server flags to indicate capabilities and... 2026-03-23 01:33:54 -05:00
Adam Honse
b010389992 SDK documentation updates 2026-03-23 01:33:54 -05:00
Adam Honse
e999c31897 Expose LogManager in ResourceManager so that plugins can use it 2026-03-23 01:33:54 -05:00
Adam Honse
ea2835ae42 Update NetworkClient to use log manager and use common name constant in server logs 2026-03-23 01:33:54 -05:00
Adam Honse
31e161fea4 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-03-23 01:33:54 -05:00
Adam Honse
d928a6ca47 Add optional HID device hotplug support (requires https://gitlab.com/OpenRGBDevelopers/hidapi-hotplug) 2026-03-23 01:33:54 -05:00
Adam Honse
7d514e88d5 SDK v6: Use unique IDs for identifying RGBControllers in SDK protocol 2026-03-23 01:33:54 -05:00
Adam Honse
acf26b6d98 Rework list handling in ResourceManager by having NetworkClient own its own list rather than sharing ResourceManager's list 2026-03-23 01:33:54 -05:00
Adam Honse
7fea425c27 Move HID detector calls to RunHIDDetector/RunHIDWrappedDetector functions and return controller list from detector functions 2026-03-23 01:33:52 -05:00
Adam Honse
f463ffe5b5 Detection progress SDK integration, NetworkClient callback rework 2026-03-23 01:30:17 -05:00
Adam Honse
1ad89ec1ed 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-03-23 01:30:17 -05:00
Adam Honse
35f5bcc2a4 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-03-23 01:30:17 -05:00
Adam Honse
5346581fec 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-03-23 01:30:17 -05:00
Adam Honse
c13d4313bb 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-03-23 01:30:17 -05:00
Adam Honse
2f76335b96 Move plugin SDK integration from callback into plugin API and PluginManager 2026-03-23 01:30:17 -05:00
Adam Honse
7a43d6e3bc Update Plugin API to 5 and SDK Protocol to 6 2026-03-23 01:30:17 -05:00
Adam Honse
dcf9952c9e 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-03-23 01:30:17 -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
Roy Biggins
da6061bbde Add X570 AORUS XTREME zone mapping for IT8297BX 2026-03-16 10:29:38 -05:00
asheriif
dfad607697 Add support for Steel Series CS2 Dragon Lore Edition 2026-03-10 21:58:47 +01:00
Yaroslav Syrytsia
5d7565bc59 Controllers/Razer: add initial support for Razer Basilisk V3 Pro 35K Phantom Green Edition 2026-03-08 23:28:27 -05:00
Anton Klimanov
ab962ca98f Add support for Gigabyte Radeon RX 7900 XTX GAMING OC 24G (1458:240e) 2026-03-09 01:36:27 +03:00
Adam Honse
dbbf9858f8 Fix warnings in CMARGBController 2026-03-04 22:23:20 -06:00
Adam Honse
51edb35e3f Rework CoolerMaster ARGB controller so that it doesn't create multiple devices and prepare it for per-zone mode support 2026-03-04 11:45:48 -06:00
Adam Honse
81c6ee6270 Replace usages of sprintf with snprintf 2026-03-03 11:29:19 -06:00
Adam Honse
9ad37cc98f Fix logical error from changing type to unsigned 2026-03-03 11:25:22 -06:00
Adam Honse
c76864dd4b Warning fixes and cleanups 2026-03-03 11:05:11 -06:00
Marco Martinez
e3889508c0 Add support for another Airgoo Fan + DRGB Controller variant 2026-03-03 07:37:45 -06:00
Adam Honse
22d908b9a3 Fix warnings in ClevoLightbarController.cpp 2026-03-02 23:18:40 -06:00
Adam Honse
13d3e09f1a Fix warnings in ClevoKeyboardController.cpp 2026-03-02 23:17:23 -06:00
Adam Honse
9ec15673d1 Fix warnings in AsusMonitorController.cpp 2026-03-02 23:15:36 -06:00
Adam Honse
3a00a803e9 Fix warnings in LianLiUniHubSLController 2026-03-02 23:08:51 -06:00
Adam Honse
4a12a0db90 Fix warnings in LianLiUniversalScreenController 2026-03-02 23:07:12 -06:00
Adam Honse
b4940e3a75 Fix warning in QMKVialRGBController 2026-03-02 23:04:40 -06:00
Adam Honse
ffe07bbe3b Fix warning in RazerKrakenV3Controller 2026-03-02 23:03:00 -06:00
Adam Honse
7fdb006465 Fix warning in WootingV1KeyboardController 2026-03-02 23:01:29 -06:00
Adam Honse
99da577c41 Fix warning in SPDAccessor.cpp 2026-03-02 22:54:22 -06:00
Adam Honse
0f6fdd6c3b Fix warnings in HPOmenLaptopWMI_Windows 2026-03-02 22:52:12 -06:00
Adam Honse
52ec58d67f Fix warnings in NVFC nvapi.cpp 2026-03-02 22:44:19 -06:00