Adam Honse
a7c400bc65
Update yet more file header comments to standardized new format
2024-05-03 21:56:32 -05:00
Dmitry K
51712f08b5
Removed include directives from ResourceManager.h to speed up build process
2023-07-12 14:51:47 +00:00
Dmitry K
0714920a9a
Simplified detector blocks for HID
2023-07-12 14:49:27 +00:00
Adam Honse
92f0720639
Remove RGB controllers argument from standard detector
2023-01-26 20:36:02 -06:00
Adam Honse
29d34f7768
Implement the wrapper for Linux in ResourceManager, change IPU to I for HyperX Quadcast S, code cleanup
2023-01-26 23:56:36 +00:00
Adam Honse
7bf0e40fd8
Load sizes for hardware controllers registered using RegisterRGBController() before putting them in the general controllers list and updating the UI
2023-01-18 22:56:44 -06:00
Dmitry K
b409b5f7cc
Added support for unicode paths (filesystem::path approach)
2023-01-18 06:02:55 +00:00
Adam Honse
00e35e9e01
Add I2C PCI detector type for registering GPU detectors, update Gigabyte RGB Fusion GPU controller to use it
2022-05-22 18:23:46 -05:00
morg
5b4d55bb42
Add pre detection hooks to resource manager. Closes #2184
2022-02-11 18:54:30 +00:00
Adam Honse
938f67016c
Update plugin API to version 2, add unregister functions for all ResourceManager callbacks
2021-12-29 22:50:00 -06:00
Adam Honse
de4231f3ea
Show dialog if any common I2C/SMBus initialization errors occur
2021-11-07 13:53:48 -06:00
Adam Honse
d18f66f995
Implement dynamic detectors - run-once functions that can register detectors dynamically
2021-05-31 13:55:22 -05:00
k1-801
abfb6ea22d
Tiny fixups (server conn info leak closed, log va leak closed, config dir optimized)
...
Commit amended for code style by Adam Honse <calcprogrammer1@gmail.com >
2021-05-24 22:41:12 -05:00
Adam Honse
cb656ebdf7
Don't print Running standalone message when local server connection succeeds
2021-05-23 23:22:46 -05:00
morg
f54ecd8b1b
Add detection start and end callbacks
2021-05-17 08:14:00 -05:00
Adam Honse
d88f9979a9
Rework network client callback pipeline - route callbacks from clients through ResourceManager so that device list callbacks get called. Fixes remote devices not showing up in plugins.
2021-05-14 23:29:34 -05:00
silas
a51e2f8ac8
Make device list change warning callback
...
This will be helpful for keeping plugins from crashing
Commit amended to change callback function name for consistency by Adam Honse <calcprogrammer1@gmail.com >
2021-05-13 22:30:38 -05:00
morg
2a6b457324
Add UnregisterRGBController method to ResourceManager
...
Commit amended by Adam Honse <calcprogrammer1@gmail.com >
2021-04-20 09:21:24 -05:00
Adam Honse
276c7e66e9
Update the detector settings list before running the detectors, so that the list is populated even if a detector crashes
2021-04-09 18:28:37 -05:00
Adam Honse
69cb7a0d9e
Use resource manager to register I2C interfaces and log them
2021-03-24 01:22:48 -05:00
Adam Honse
ec90f4678b
Change all I2C/SMBus detectors to use RegisterRGBController
2021-03-23 20:41:50 -05:00
silas
667a24a63a
Add waitfordevicedetection to resourcemanager interface
2021-01-09 18:00:06 +00:00
Adam Honse
3ad57aba9a
Interfaceify RGBController so it can be used in plugins, add GetDetectionPercent to Resource Manager interface so it can be used in plugins
2021-01-06 00:34:26 -06:00
silas
93231c3225
Initial commit for Plugins
...
Commits squashed, code style and naming changes by Adam Honse <calcprogrammer1@gmail.com >
2021-01-05 20:07:13 -06:00
Adam Honse
c20ecbffe5
Revert changes to ResourceManager.cpp
2021-01-01 18:28:33 -06:00
Chris
215baa487a
Corrected Logical errors in ResourceManager.cpp
...
* Removed comparison of -1 to unsigned int
* Corrected comparison of current_device to HID_INTERFACE_ANY
* Exposed downstream errors in Windows implementation of CM_MP750
controller corrected
* Added "Off" mode
2021-01-01 16:52:27 -06:00
Adam Honse
a2e74eb788
Disable detection when started in local client mode
2020-12-06 21:08:47 -06:00
Adam Honse
3345fe6562
Fix I2C tools by adding I2C bus list change callback to resource manager
2020-12-02 00:08:15 -06:00
Adam Honse
ddfcd1caf9
Split CLI processing into pre- and post-detection functions and add --localconfig and --nodetect options
2020-12-01 23:51:56 -06:00
k1-801
dc2b41a0e2
Massive HID detectors update
...
Commit amended to undo change to device list management, still working through that merge request. Want to work this one in first. Changes by Adam Honse <calcprogrammer1@gmail.com >
2020-11-25 02:17:18 -06:00
Adam Honse
f7d187f5b2
Use XDG-compliant configuration directory (APPDATA on Windows)
2020-11-10 15:49:56 -06:00
Adam Honse
5b68efd09f
Initial prototype of settings manager loads JSON settings file and E1.31 detector uses JSON data to detect devices
2020-11-10 15:49:55 -06:00
Adam Honse
e52619dbab
Move Profile Manager to Resource Manager and rework size loading so that sizes are updated upon redetection
2020-10-08 17:07:39 -05:00
Adam Honse
24de16f77b
Keep a separate list of controllers detected from hardware and dynamically add/remove them from the master list when redetecting so client controllers aren't deleted during redetection
2020-10-06 21:20:08 -05:00
Adam Honse
c30480af91
Add detection progress callback to avoid unnecessary device list updates
2020-09-28 19:11:47 -05:00
Adam Honse
60fd721586
Server sends a request to the client when the device list is updated
2020-09-27 22:12:34 +00:00
Adam Honse
55bf28d4c3
Clean up some more reference passing related to server and clients and use the Resource Manager instead
2020-09-22 12:37:41 -05:00
Adam Honse
128bfc7792
Move network clients to Resource Manager
2020-09-22 12:17:54 -05:00
Adam Honse
c1ac870035
Move network server to resource manager
2020-09-21 00:34:41 -05:00
k1-801
ec77c658f2
Rudimentary rescanning implemented but button for it not added due to SDK conflicts. Stop detection button.
...
Commit amended by Adam Honse <calcprogrammer1@gmail.com >
2020-09-06 01:37:16 -05:00
Adam Honse
9c4e73bbed
Set default percentage to 100% so that the progress bar goes away if device detection is skipped
2020-08-07 14:02:00 -05:00
Térence Clastres
f8af9980fd
Fix crash on close while detecting devices
2020-08-07 14:01:59 -05:00
Adam Honse
f716a05947
Add detector names and display them in the progress bar
2020-08-07 14:01:59 -05:00
Adam Honse
e84cb98055
Add detection progress bar to the user interface
2020-08-07 14:01:59 -05:00
Adam Honse
aaa2ecddc7
Move i2c bus detectors to their respective files and add a detector macro for i2c busses so they can be detected asynchronously. Fix WMI and DMI info.
2020-08-07 14:01:59 -05:00
Adam Honse
7898e9b95d
Initial prototype of asynchronous detection. DMI information broken
2020-08-07 14:01:59 -05:00
pobrn
ddc69778dc
Modular detection system with resource manager.
...
Includes pull request !87 with modifications by Adam Honse (calcprogrammer1@gmail.com ).
2020-08-05 00:23:34 -05:00