/// <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); }
/// <summary> /// Draws a static image to the touchpad. /// </summary> /// <param name="image">Path to the image file.</param> public override void Draw(string image) { TouchpadImageRenderer.Draw(image); }