예제 #1
0
        private void UpdateColors(object?sender, DreamScreenClient.DeviceColorEventArgs e)
        {
            var colors = e.Colors;
            var frame  = _builder.Build(colors);

            Log.Debug("Update: DS");
            _splitter.Update(frame).ConfigureAwait(false);
            frame.Dispose();
            _cs.Counter.Tick("Dreamscreen");
        }
예제 #2
0
 private static void ColorsReceived(object?sender, DreamScreenClient.DeviceColorEventArgs e)
 {
     Console.WriteLine("Colors received: " + JsonConvert.SerializeObject(e.Colors));
 }