public static void DeInitLogitechMonitor() { if (LogitechSDK.LogiLcdIsConnected(LogitechSDK.LOGI_LCD_TYPE_MONO)) { LogitechSDK.LogiLcdShutdown(); } }
public static bool InitLogitechMonitor() { Boolean res = false; //-- если монитор вообще подсоединен, то .. if (TryInitLogitechMonitor()) { //-- пытаемся его инициализировать if (LogitechSDK.LogiLcdIsConnected(LogitechSDK.LOGI_LCD_TYPE_MONO)) { //LogitechSDK.LogiLcdMonoSetBackground(BitmapToByteRgbNaive(Properties.Resources.russ)); LogitechSDK.LogiLcdMonoSetBackground(BitmapToByteRgbNaive(Properties.Resources.ETR)); // LogitechSDK.LogiLcdMonoSetText(0, "Elite Dangerous"); // LogitechSDK.LogiLcdMonoSetText(3, "Приветствую Вас, пилот!"); LogitechSDK.LogiLcdUpdate(LogitechSDK.LOGI_LCD_TYPE_MONO); } res = true; } return(res); }
public static bool TryInitLogitechMonitor() { return(LogitechSDK.LogiLcdInit("ELITE", LogitechSDK.LOGI_LCD_TYPE_MONO | LogitechSDK.LOGI_LCD_TYPE_COLOR)); }