public LogitechImageGenerator() { sBrush = new SolidBrush(Color.Black); bitmap = new Bitmap(LogitechG19.LOGI_LCD_COLOR_WIDTH, LogitechG19.LOGI_LCD_COLOR_HEIGHT, System.Drawing.Imaging.PixelFormat.Format32bppPArgb); g = Graphics.FromImage(bitmap); keyboard = LogitechG19.GetG19Keyboard( ); }
public static LogitechG19 GetG19Keyboard( ) { if (keyboard == null) { keyboard = new LogitechG19( ); } return(keyboard); }
public void Shutdown() { keyboard = null; updateTimer.Stop( ); LogiLcdShutdown( ); }