29 public const string DLL_NAME =
"LogitechLedEnginesWrapper ";
53 public static extern bool LogiLedSetLighting(
int redPercentage,
int greenPercentage,
int bluePercentage);
59 public static extern bool LogiLedFlashLighting(
int redPercentage,
int greenPercentage,
int bluePercentage,
int milliSecondsDuration,
int milliSecondsInterval);
62 public static extern bool LogiLedPulseLighting(
int redPercentage,
int greenPercentage,
int bluePercentage,
int milliSecondsDuration,
int milliSecondsInterval);
92 public static extern bool LogiLedFlashSingleKey(
KeyName keyName,
int redPercentage,
int greenPercentage,
int bluePercentage,
int msDuration,
int msInterval);
95 public static extern bool LogiLedPulseSingleKey(
KeyName keyName,
int startRedPercentage,
int startGreenPercentage,
int startBluePercentage,
int finishRedPercentage,
int finishGreenPercentage,
int finishBluePercentage,
int msDuration,
bool isInfinite);
static bool LogiLedSaveLightingForKey(KeyName keyName)
const int LOGI_DEVICETYPE_MONOCHROME_ORD
static bool LogiLedGetSdkVersion(ref int majorNum, ref int minorNum, ref int buildNum)
const int LOGI_DEVICETYPE_RGB
static bool LogiLedStopEffectsOnKey(KeyName keyName)
const int LOGI_LED_BITMAP_SIZE
static bool LogiLedGetConfigOptionColor([MarshalAs(UnmanagedType.LPWStr)] string configPath, ref int defaultRed, ref int defaultGreen, ref int defaultBlue)
static bool LogiLedRestoreLighting()
static bool LogiLedFlashSingleKey(KeyName keyName, int redPercentage, int greenPercentage, int bluePercentage, int msDuration, int msInterval)
const int LOGI_DEVICETYPE_PERKEY_RGB_ORD
static bool LogiLedFlashLighting(int redPercentage, int greenPercentage, int bluePercentage, int milliSecondsDuration, int milliSecondsInterval)
const int LOGI_LED_DURATION_INFINITE
static bool LogiLedRestoreLightingForKey(KeyName keyName)
static bool LogiLedSetLightingFromBitmap(byte[] bitmap)
const int LOGI_LED_BITMAP_WIDTH
const int LOGI_LED_BITMAP_BYTES_PER_KEY
static bool LogiLedSaveCurrentLighting()
const int LOGI_DEVICETYPE_RGB_ORD
static bool LogiLedGetConfigOptionNumber([MarshalAs(UnmanagedType.LPWStr)] string configPath, ref double defaultNumber)
static bool LogiLedSetTargetDevice(int targetDevice)
static bool LogiLedGetConfigOptionBool([MarshalAs(UnmanagedType.LPWStr)] string configPath, ref bool defaultRed)
static bool LogiLedSetLightingForKeyWithQuartzCode(int keyCode, int redPercentage, int greenPercentage, int bluePercentage)
static bool LogiLedStopEffects()
static bool LogiLedSetLightingForKeyWithHidCode(int keyCode, int redPercentage, int greenPercentage, int bluePercentage)
static bool LogiLedPulseLighting(int redPercentage, int greenPercentage, int bluePercentage, int milliSecondsDuration, int milliSecondsInterval)
static bool LogiLedPulseSingleKey(KeyName keyName, int startRedPercentage, int startGreenPercentage, int startBluePercentage, int finishRedPercentage, int finishGreenPercentage, int finishBluePercentage, int msDuration, bool isInfinite)
static void LogiLedShutdown()
const int LOGI_DEVICETYPE_PERKEY_RGB
static bool LogiLedExcludeKeysFromBitmap(KeyName[] keyList, int listCount)
static bool LogiLedSetLightingForKeyWithKeyName(KeyName keyCode, int redPercentage, int greenPercentage, int bluePercentage)
const int LOGI_DEVICETYPE_MONOCHROME
static bool LogiLedSetLighting(int redPercentage, int greenPercentage, int bluePercentage)
static bool LogiLedSetLightingForKeyWithScanCode(int keyCode, int redPercentage, int greenPercentage, int bluePercentage)
const int LOGI_LED_BITMAP_HEIGHT
static bool LogiLedInit()