Changed Gigabyte Fusion 2 controller
* Removed warnings * Refactored RGBFusion2USBController::SetLEDEffect() to improve readability * Tidied up Mode declarations * Other changes for style and formatting
This commit is contained in:
parent
ca84bad1fc
commit
fbb7d16039
8 changed files with 257 additions and 337 deletions
|
|
@ -30,6 +30,8 @@ typedef unsigned int RGBColor;
|
|||
|
||||
#define ToRGBColor(r, g, b) ((RGBColor)((b << 16) | (g << 8) | (r)))
|
||||
|
||||
#define RGBToBGRColor(rgb) ((rgb & 0xFF) << 16 | (rgb & 0xFF00) | (rgb & 0xFF0000) >> 16)
|
||||
|
||||
/*------------------------------------------------------------------*\
|
||||
| Mode Flags |
|
||||
\*------------------------------------------------------------------*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue