Exemple #1
0
 public static void LogiLedShutdown()
 {
     if (GHUB)
     {
         GHUBImports.LogiLedShutdown();
     }
     else
     {
         LGSImports.LogiLedShutdown();
     }
 }
Exemple #2
0
 public static bool LogiLedRestoreLighting()
 {
     return(GHUB ? GHUBImports.LogiLedRestoreLighting() : LGSImports.LogiLedRestoreLighting());
 }
Exemple #3
0
 public static bool LogiLedSaveCurrentLighting()
 {
     return(GHUB ? GHUBImports.LogiLedSaveCurrentLighting() : LGSImports.LogiLedSaveCurrentLighting());
 }
Exemple #4
0
 public static bool LogiLedSetLightingForKeyWithKeyName(LedId keyCode, Color color)
 {
     var(R, G, B) = GetColorValues(color);
     return(GHUB ? GHUBImports.LogiLedSetLightingForKeyWithKeyName(keyCode, R, G, B) :
            LGSImports.LogiLedSetLightingForKeyWithKeyName(keyCode, R, G, B));
 }
Exemple #5
0
 public static bool LogiLedSetLightingForTargetZone(DeviceType deviceType, int zone, Color color)
 {
     var(R, G, B) = GetColorValues(color);
     return(GHUB ? GHUBImports.LogiLedSetLightingForTargetZone((byte)deviceType, zone, R, G, B) :
            LGSImports.LogiLedSetLightingForTargetZone((byte)deviceType, zone, R, G, B));
 }
Exemple #6
0
 public static bool LogiLedSetLightingFromBitmap(byte[] bitmap)
 {
     return(GHUB ? GHUBImports.LogiLedSetLightingFromBitmap(bitmap) :
            LGSImports.LogiLedSetLightingFromBitmap(bitmap));
 }
Exemple #7
0
 public static bool LogiLedExcludeKeysFromBitmap(LedId[] keyList, int listCount)
 {
     return(GHUB ? GHUBImports.LogiLedExcludeKeysFromBitmap(keyList, listCount) :
            LGSImports.LogiLedExcludeKeysFromBitmap(keyList, listCount));
 }
Exemple #8
0
 public static bool LogiLedSetLighting(Color color)
 {
     var(R, G, B) = GetColorValues(color);
     return(GHUB ? GHUBImports.LogiLedSetLighting(R, G, B) : LGSImports.LogiLedSetLighting(R, G, B));
 }
Exemple #9
0
 public static bool LogiLedSetTargetDevice(int targetDevice)
 {
     return(GHUB ? GHUBImports.LogiLedSetTargetDevice(targetDevice) : LGSImports.LogiLedSetTargetDevice(targetDevice));
 }
Exemple #10
0
 public static bool LogiLedInit()
 {
     return(GHUB ? GHUBImports.LogiLedInit() : LGSImports.LogiLedInit());
 }