Commit Graph

553 Commits

Author SHA1 Message Date
Adam Honse
e045ea9bf1 Clean up zone initialization dialog 2026-04-13 11:43:23 -05:00
Adam Honse
d4fcd40e3d Implement segment groups in zone editor 2026-04-13 11:43:23 -05:00
Adam Honse
91ecdaa9b7 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-13 11:43:22 -05:00
Adam Honse
5b335962f2 Organize OpenRGBSettingsPage with Group Boxes 2026-04-13 11:43:22 -05:00
Kasslim
a1f75de3d9 Correct spelling Busses -> Buses
Commits merged by Adam Honse <calcprogrammer1@gmail.com>
2026-04-13 11:43:22 -05:00
Adam Honse
592c7ff4ed Only update device view when RGBController::UpdateLEDs signal is sent to OpenRGBDevicePage, fix device view not refreshing if multiple LEDs are selected 2026-04-13 11:43:22 -05:00
Adam Honse
22cc5da057 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-13 11:43:22 -05:00
Adam Honse
b3383358c1 DeviceView code cleanup, formatting, commenting 2026-04-13 11:43:22 -05:00
Adam Honse
656579aff0 Fix selecting LEDs in device view 2026-04-13 11:43:22 -05:00
Adam Honse
3cbd28f6fe TabLabel sets its own tooltip so all tabs have a tooltip rather than just devices 2026-04-13 11:43:22 -05:00
Adam Honse
e4d8dd9a48 Resize tabs when width is small 2026-04-13 11:43:22 -05:00
Adam Honse
3b11bd146c Rework adding segments with ConfigureZone 2026-04-13 11:43:22 -05:00
Adam Honse
1cbb5a48ac 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-13 11:43:22 -05:00
Adam Honse
5a6eb93db4 Add matrix map automatic generation to matrix map editor 2026-04-13 11:43:22 -05:00
Adam Honse
a02c9aa527 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-13 11:43:22 -05:00
Adam Honse
2b6355b4d0 Profile editor dialog 2026-04-13 11:43:21 -05:00
Adam Honse
b7c8afca65 [next] Active profile tracking 2026-04-13 11:43:21 -05:00
Adam Honse
e8495115b5 Add optional HID device hotplug support (requires https://gitlab.com/OpenRGBDevelopers/hidapi-hotplug) 2026-04-13 11:43:21 -05:00
Adam Honse
31d02f64b2 Rework list handling in ResourceManager by having NetworkClient own its own list rather than sharing ResourceManager's list 2026-04-13 11:43:20 -05:00
Adam Honse
84d3656f4d 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-13 11:43:20 -05:00
Adam Honse
1d963193ae 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-13 11:43:20 -05:00
Adam Honse
66921e1cd9 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-13 11:43:20 -05:00
Adam Honse
add92d7f73 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-13 11:43:20 -05:00
Adam Honse
e42e79538c Move plugin SDK integration from callback into plugin API and PluginManager 2026-04-13 11:43:20 -05:00
Arthur de Groot
cc06c62164 Rename Setting RunZoneChecks -> run_zone_checks 2026-02-05 17:20:14 -06:00
Adam Honse
f2d1188fdd Fix swatches not resizing properly when maximized 2026-01-28 18:35:22 -06:00
Adam Honse
02e0504227 Fix controls on OpenRGBClientInfoPage list not working on Qt6 2026-01-11 00:37:43 -06:00
Serhat Öktem
69ccd56fef Turkish language file 2026-01-09 23:53:34 -06:00
Adam Honse
b3c5a65884 Reduce duplicate code in zone selection handling in OpenRGBDevicePage 2025-12-15 18:16:19 -06:00
Adam Honse
bd6b358e0d Fix some issues with detector settings page 2025-12-08 15:33:17 -06:00
Adam Honse
6da0dbf511 Add configuration for detector settings (HID safe mode and detection delay) to settings page 2025-12-08 01:00:09 -06:00
Adam Honse
74922bdf60 Add 1.0rc1 and 1.0rc2 to metainfo releases 2025-12-06 18:26:20 -06:00
Adam Honse
696008b48f Add manual device configuration for QMK VialRGB protocol 2025-11-26 12:49:25 -06:00
Adam Honse
e657f5c8d4 Make segment type configurable 2025-11-22 12:55:27 -06:00
Adam Honse
a6b890a48d Use ResourceManager::RescanDevices() to initiate a rescan in places where ResourceManager::DetectDevices() was still being used 2025-11-14 20:31:10 -06:00
Adam Honse
269e7c6115 Add tmpfiles for initializing /etc/openrgb for systemd service 2025-11-10 01:01:39 -06:00
Adam Honse
b22438d345 Use /etc/openrgb as config path for systemd service 2025-11-10 00:05:13 -06:00
Andre Toerien
b58b3c0402 Install systemd service under PREFIX 2025-10-15 07:53:15 -05:00
Adam Honse
c71cc4f18a Change SPDX license identifier from GPL 2.0 only to GPL 2.0 or later, as the original LICENSE file includes an or later clause at the end so the file headers were incorrect 2025-09-28 00:47:08 -05:00
Adam Honse
b349c3ff2c Update PawnIO SMBus driver to use standardized API between all drivers, add NCT6793 driver, and remove WinRing0 SMBus drivers 2025-09-14 14:31:13 -05:00
Adam Honse
30f9b84d5f Use GetName instead of directly accessing the RGBController::name member outside of Controllers 2025-08-01 11:32:55 -05:00
Adam Honse
43b97bca75 Rework Debug controller and add manual settings entry for it, also remove graying out the settings save button as sometimes it prevents saving changes 2025-07-31 00:11:18 -05:00
Adam Honse
d59138363e Handle condition where detection finishes before OpenRGBDialog constructor finishes/has time to register detection end callback. Fixes plugins not loading when running OpenRGB as a background service. 2025-07-26 02:36:38 -05:00
Valtekken
47783feecb Updated Italian translation's missing lines. 2025-07-19 09:05:53 +00:00
Adam Honse
d0bcf06e5f Update metainfo 2025-07-17 11:57:08 -05:00
Dmitry K
46a79c6bb5 Serial port field is now drop-down list 2025-07-16 01:29:16 -05:00
Adam Honse
25d45fd9db Add server settings to settings page 2025-07-15 18:11:32 -05:00
Adam Honse
e86d9f9241 Add SystemD service file to Linux installation 2025-07-15 11:20:13 -05:00
Adam Honse
d8b9159125 Rework handling of NetworkClient callbacks to route them through ResourceManager and move connection of saved clients to after autoconnection of local client in InitCoroutine 2025-07-12 22:49:14 -05:00
Adam Honse
a30617d971 Code cleanup in OpenRGBDialog 2025-07-12 21:58:31 -05:00