Ejemplo n.º 1
0
        static async void ambiantColor()
        {
            KeyboardController keyboard       = new KeyboardController();
            IChroma            ChromaInstance = await ColoreProvider.CreateNativeAsync();

            while (true)
            {
                ScreenShotController screen = new ScreenShotController();
                keyboard.changeKeyboardColor(screen.GetScreenAverageColor());
                keyboard.applyKeyboardColor(ChromaInstance);
            }
        }