* Remove some unnecessary operations on the G815 controller
* Use reserved memory for key color array to avoid excessive memory copy on vector pushback
Commits squashed and commit message amended by Adam Honse <calcprogrammer1@gmail.com>
There is currently no difference in naming for the integrated
motherboard LEDs and the motherboard non-addressable RGB headers. This
commit renames the RGB headers in the RGB controller. The number of RGB
headers is read from the configuration table.
Commit amended for code style by Adam Honse <calcprogrammer1@gmail.com>
* All keys works, including media, G and light indicator.
* mode 2 and 6 functions working to achieve "best" framerate.
* Add a wakeup function to ensure that all keys works with the first command (just copy/paste bits from what GHub do)
Commits squashed and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
+ Adding layout for Z390 AORUS MASTER-CF
+ Adding destructor to RGBController_GigabyteRGBFusion2USB.cpp to
'delete controller'
+ Allows custom layout saving to config
+ Custom config will save out to config if not present
+ Layout is enablable and disabled by default
+ Added a lookup map from mapping in config
+ Added a template for the reverse_map for saving to the config
+ Removed the header integers from the config to avoid invalid values
+ Changed internal mapping closer to JSON for ease of lookup
+ Added protection to the led count
+ Added calibration to config
* Disabled execution of calibration until explicitely enabled in config
Commit amended for code style of changes as well as general cleanup of RGB Fusion 2 USB controller by Adam Honse <calcprogrammer1@gmail.com>
* I'm really not sure what it is, but for some reason with the ternary operator the sequence number was ending up wrong - it would end up being 1 twice in a row, at startup it would be 0 when it should have been 1 and other issues. This fixes that
* Also made it atomic
Commit amended for code style by Adam Honse <calcprogrammer1@gmail.com>