private Color ReadBackLight(HidDevice device) { byte[] b = new byte[4]; b[0] = KeyboardType.ReportID; device.GetFeature(b); return(Color.FromArgb(b[1], b[2], b[3])); }
private Color ReadBackLight(HidDevice device) { byte[] b = new byte[4]; b[0] = KeyboardType.ReportID; device.GetFeature(b); return Color.FromArgb(b[1], b[2], b[3]); }
public static Color GetBackLight(HidDevice device) { byte[] b = new byte[4]; b[0] = reportId; device.GetFeature(b); return(Color.FromArgb(b[1], b[2], b[3])); }
public static Color GetBackLight(HidDevice device) { byte[] b = new byte[4]; b[0] = reportId; device.GetFeature(b); return Color.FromArgb(b[1], b[2], b[3]); }