コード例 #1
0
 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( );
 }
コード例 #2
0
        public static LogitechG19 GetG19Keyboard( )
        {
            if (keyboard == null)
            {
                keyboard = new LogitechG19( );
            }

            return(keyboard);
        }
コード例 #3
0
 public void Shutdown()
 {
     keyboard = null;
     updateTimer.Stop( );
     LogiLcdShutdown( );
 }