示例#1
0
        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);
            }
        }
示例#2
0
        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);
            }
        }
示例#3
0
 public void setController(int handle, byte[] colors)
 {
     AuraSDK.SetMotherboardApplicationMode(handle);
     AuraSDK.SetMotherboardColors(handle, colors);
 }