SetFeature() private method

private SetFeature ( byte reportBuffer ) : bool
reportBuffer byte
return bool
Beispiel #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);
 }
Beispiel #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);
 }