Пример #1
0
        /// <summary>
        /// Set a static image to be displayed on the touchpad.
        /// </summary>
        /// <param name="image">Path to image.</param>
        /// <param name="interval">The interval (in milliseconds) at which to redraw the image file.</param>
        public override void Set(string image, int interval = 42)
        {
            image = GenericMethods.GetAbsolutePath(image);

            Renderer = new TouchpadImageRenderer(image, interval);
        }