133 Commits (b87c46a273c1bde5ef76bbdabc9069c0991005fe)

Author SHA1 Message Date
Adam Honse 938f67016c Update plugin API to version 2, add unregister functions for all ResourceManager callbacks 4 years ago
TheRogueZeta fe59f75b5b Update spacing and text in warning messages
Commit amended to make DRAM/Motherboard warning common between the Windows and Linux messages by Adam Honse <calcprogrammer1@gmail.com>.  Line breaks in the OS-specific paragraphs removed as I found them unnecessary, especially when the line is already wrapped before the break.
4 years ago
TheRogueZeta 922659cab0 Remove NVIDIA Windows only print and apply to all i2c interfaces 5 years ago
Adam Honse c3e06d732e Attempt to work around Windows compile issue 5 years ago
Adam Honse c74a9849c0 Properly detect I2C initialization fail on Linux and fix dialog always being displayed even when I2C initialization was successful 5 years ago
Adam Honse de4231f3ea Show dialog if any common I2C/SMBus initialization errors occur 5 years ago
Chris 3095572260 Adjusting HID detection to fix false positives
* Adjusting Interface for Razer Chroma
* Adjusting Interface for ThingMBlink

Commit amended for code style by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
Adam Honse 5d8a58fc24 Add ability to save client connections to auto-connect on launch 5 years ago
morg 70024faabd Reviews log messages, fixed some typos and ensure consistency 5 years ago
morg c9a1e1bf85 Make sure to load the zones sizes. Fixes #1602 5 years ago
Alex 4c41a8834d Fix some logging mistake 5 years ago
Alex 4af8614fce Add formated loging for device detection
Commits merged and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
TheRogueZeta 46d353bc66 Fix missing % that got lost in transfer 5 years ago
TheRogueZeta 24d1c5f2ae Update HID device log prints to use caps 5 years ago
Adam Honse d18f66f995 Implement dynamic detectors - run-once functions that can register detectors dynamically 5 years ago
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>
5 years ago
Adam Honse 33b840b2b9 Revert change disabling redetection of i2c interfaces and fix disconnected WMI failure by always reconnecting before query 5 years ago
Adam Honse 2a3a736f09 Don't delete i2c bus list on redetect, as WMI query issues prevent them from being redetected 5 years ago
Adam Honse cb656ebdf7 Don't print Running standalone message when local server connection succeeds 5 years ago
Adam Honse e5d16dedcc Add option in settings file to pass client controllers through to server 5 years ago
morg f54ecd8b1b Add detection start and end callbacks 5 years ago
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. 5 years ago
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>
5 years ago
k1-801 02ba8a799e Server freed from ResourceManager
Commit amended to revert OpenRGBInterfaces.h header (may reconsider in the future) by Adam Honse
<calcprogrammer1@gmail.com>
5 years ago
morg 3543218722 Automatically create the plugins folder 5 years ago
k1-801 ad2cd89128 Add filesystem header to select between std::filesystem and std::experimental::filesystem depending on system availability.
Commit amended by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
morg 2a6b457324 Add UnregisterRGBController method to ResourceManager
Commit amended by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
Adam Honse b148bbe740 Initialize OpenRazer/OpenRazer-Win32 controller to disabled if not present in settings 5 years ago
Adam Honse 276c7e66e9 Update the detector settings list before running the detectors, so that the list is populated even if a detector crashes 5 years ago
Chris 067aa4d88a Adding logging notices to ResourceManager to track explicit hid_init() and hid_exit() 5 years ago
k1-801 1fdd4379a7 Small adjustments in LogManager 5 years ago
Adam Honse 69cb7a0d9e Use resource manager to register I2C interfaces and log them 5 years ago
Adam Honse ec90f4678b Change all I2C/SMBus detectors to use RegisterRGBController 5 years ago
k1-801 f1d6c2953d Logger tweaks
Commit amended for code style and minor cleanup by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
k1-801 ca11939277 Add LogManager and add log messages for the detection process
Commit amended for code style and to remove unrelated changes by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
Adam Honse fdab8a2066 Ignore interface check for non-safe-mode as well 5 years ago
Adam Honse c3c4b3a8eb Ignore interface check if usage page or usage is checked 5 years ago
jath03 84861ef989 Fixing profile loading #1135 5 years ago
silas 93231c3225 Initial commit for Plugins
Commits squashed, code style and naming changes by Adam Honse <calcprogrammer1@gmail.com>
5 years ago
Adam Honse c20ecbffe5 Revert changes to ResourceManager.cpp 5 years ago
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
5 years ago
Adam Honse 0fd302b7d1 Reload sizes when changing configuration directory 5 years ago
Adam Honse a2e74eb788 Disable detection when started in local client mode 5 years ago
Adam Honse f70c9cc63e Remove Setting_ prefix from all settings keys 6 years ago
Adam Honse 61d4b8fa5d More size loading fixes 6 years ago
Adam Honse 49fda962be Load sizes for HID devices after detection 6 years ago
Adam Honse 3f7c981ba2 Use up-to-date controller list in profile manager 6 years ago
Adam Honse 3345fe6562 Fix I2C tools by adding I2C bus list change callback to resource manager 6 years ago
Adam Honse ddfcd1caf9 Split CLI processing into pre- and post-detection functions and add --localconfig and --nodetect options 6 years ago
Adam Honse 049441a4f5 Add USB HID safe mode (enumerates only enabled devices), enable in detector settings by setting hid_safe_mode to true 6 years ago
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>
6 years ago
Adam Honse 100678f85b Rework device enabling - fill in detectors list with detector names, default to true. Setting them to false disables the detectors 6 years ago
Adam Honse 49365b3d98 Fall back to HOME if XDG_CONFIG_HOME doesn't exist 6 years ago
Adam Honse c8e547343b Fix issues with empty json and unknown path 6 years ago
Adam Honse 8131b94a5d Create configuration directory if it doesn't exist 6 years ago
Adam Honse f7d187f5b2 Use XDG-compliant configuration directory (APPDATA on Windows) 6 years ago
Adam Honse 64b592c9bd Rework Disabled Devices list to use Settings Manager 6 years ago
Adam Honse 5b68efd09f Initial prototype of settings manager loads JSON settings file and E1.31 detector uses JSON data to detect devices 6 years ago
Adam Honse e52619dbab Move Profile Manager to Resource Manager and rework size loading so that sizes are updated upon redetection 6 years ago
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 6 years ago
Adam Honse fde002707a Clear the controller list before deleting the controller objects, same for i2c busses 6 years ago
Adam Honse 8ead2f9c73 Call the callbacks when redetection starts, move matrix map deletion to individual controllers to avoid attempting to delete const pointers 6 years ago
Adam Honse 4f43e85139 Don't call the server's device list update function when updating detection progress 6 years ago
Adam Honse c30480af91 Add detection progress callback to avoid unnecessary device list updates 6 years ago
Adam Honse 60fd721586 Server sends a request to the client when the device list is updated 6 years ago
Adam Honse 55bf28d4c3 Clean up some more reference passing related to server and clients and use the Resource Manager instead 6 years ago
Adam Honse 128bfc7792 Move network clients to Resource Manager 6 years ago
Adam Honse c1ac870035 Move network server to resource manager 6 years ago
Adam Honse 8823e28fa0 Call update device list callback after detection is finished 6 years ago
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>
6 years ago
Adam Honse f568253c51 Clean up more warnings 6 years ago
Adam Honse 4e95bc55d8 Add the ability to disable device detection using a text file 6 years ago
Térence Clastres 6c52e3ce11 Fix hang when deleting busses 6 years ago
Térence Clastres 53379c5482 Fixes for memory issues detected by valgrind 6 years ago
Adam Honse 634ec9f488 Wait on asynchronous device detection before performing CLI operations that require device list 6 years ago
Adam Honse 9c4e73bbed Set default percentage to 100% so that the progress bar goes away if device detection is skipped 6 years ago
Térence Clastres f8af9980fd Fix crash on close while detecting devices 6 years ago
Adam Honse f716a05947 Add detector names and display them in the progress bar 6 years ago
Adam Honse 75899f973b Load sizes after detection is complete 6 years ago
Adam Honse e84cb98055 Add detection progress bar to the user interface 6 years ago
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. 6 years ago
Adam Honse 7898e9b95d Initial prototype of asynchronous detection. DMI information broken 6 years ago
pobrn ddc69778dc Modular detection system with resource manager.
Includes pull request !87 with modifications by Adam Honse (calcprogrammer1@gmail.com).
6 years ago