SetFeature() private method

private SetFeature ( byte reportBuffer ) : bool
reportBuffer byte
return bool
Esempio n. 1
0
 public static void SetBackLight(HidDevice dev, Color color)
 {
     // Create the feature buffer.
     byte[] featureBuffer = new byte[] { reportId, color.R, color.G, color.B };
     // Send it to all devices we know of.
     dev.SetFeature(featureBuffer);
 }
Esempio n. 2
0
 public static void SetBackLight(HidDevice dev, Color color)
 {
     // Create the feature buffer.
     byte[] featureBuffer = new byte[] { reportId, color.R, color.G, color.B };
     // Send it to all devices we know of.
     dev.SetFeature(featureBuffer);
 }