public void Reset() { foreach (int handle in controllers) { AuraSDK.SetMotherboardDefaultMode(handle); } }
public void setAll(byte[] color) { byte[] colors = { color[0], color[1], color[2] }; foreach (int handle in controllers) { AuraSDK.SetMotherboardApplicationMode(handle); AuraSDK.SetMotherboardColors(handle, colors); } }
public void setAll(byte red, byte green, byte blue) { byte[] colors = { red, green, blue }; foreach (int handle in controllers) { AuraSDK.SetMotherboardApplicationMode(handle); AuraSDK.SetMotherboardColors(handle, colors); } }
public byte[] getController(int handle) { byte[] all_colors = AuraSDK.GetMotherboardColors(handle); if (all_colors.Length >= 3) { return(new byte[] { all_colors[0], all_colors[1], all_colors[2] }); } else { return(new byte[] { 0, 0, 0 }); } }
public Aura() { controllers = AuraSDK.GetMotherboardControllers(); }
public void setController(int handle, byte[] colors) { AuraSDK.SetMotherboardApplicationMode(handle); AuraSDK.SetMotherboardColors(handle, colors); }