Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ReLogic.Peripherals.RGB.Logitech.NativeMethods Class Reference

Public Member Functions

static bool LogiLedInit ()
 
static bool LogiLedGetConfigOptionNumber ([MarshalAs(UnmanagedType.LPWStr)] string configPath, ref double defaultNumber)
 
static bool LogiLedGetConfigOptionBool ([MarshalAs(UnmanagedType.LPWStr)] string configPath, ref bool defaultRed)
 
static bool LogiLedGetConfigOptionColor ([MarshalAs(UnmanagedType.LPWStr)] string configPath, ref int defaultRed, ref int defaultGreen, ref int defaultBlue)
 
static bool LogiLedSetTargetDevice (int targetDevice)
 
static bool LogiLedGetSdkVersion (ref int majorNum, ref int minorNum, ref int buildNum)
 
static bool LogiLedSaveCurrentLighting ()
 
static bool LogiLedSetLighting (int redPercentage, int greenPercentage, int bluePercentage)
 
static bool LogiLedRestoreLighting ()
 
static bool LogiLedFlashLighting (int redPercentage, int greenPercentage, int bluePercentage, int milliSecondsDuration, int milliSecondsInterval)
 
static bool LogiLedPulseLighting (int redPercentage, int greenPercentage, int bluePercentage, int milliSecondsDuration, int milliSecondsInterval)
 
static bool LogiLedStopEffects ()
 
static bool LogiLedExcludeKeysFromBitmap (KeyName[] keyList, int listCount)
 
static bool LogiLedSetLightingFromBitmap (byte[] bitmap)
 
static bool LogiLedSetLightingForKeyWithScanCode (int keyCode, int redPercentage, int greenPercentage, int bluePercentage)
 
static bool LogiLedSetLightingForKeyWithHidCode (int keyCode, int redPercentage, int greenPercentage, int bluePercentage)
 
static bool LogiLedSetLightingForKeyWithQuartzCode (int keyCode, int redPercentage, int greenPercentage, int bluePercentage)
 
static bool LogiLedSetLightingForKeyWithKeyName (KeyName keyCode, int redPercentage, int greenPercentage, int bluePercentage)
 
static bool LogiLedSaveLightingForKey (KeyName keyName)
 
static bool LogiLedRestoreLightingForKey (KeyName keyName)
 
static bool LogiLedFlashSingleKey (KeyName keyName, int redPercentage, int greenPercentage, int bluePercentage, int msDuration, int msInterval)
 
static bool LogiLedPulseSingleKey (KeyName keyName, int startRedPercentage, int startGreenPercentage, int startBluePercentage, int finishRedPercentage, int finishGreenPercentage, int finishBluePercentage, int msDuration, bool isInfinite)
 
static bool LogiLedStopEffectsOnKey (KeyName keyName)
 
static void LogiLedShutdown ()
 

Static Public Attributes

const int LOGI_DEVICETYPE_MONOCHROME = 1
 
const int LOGI_DEVICETYPE_RGB = 2
 
const int LOGI_DEVICETYPE_PERKEY_RGB = 4
 
const int LOGI_LED_BITMAP_WIDTH = 21
 
const int LOGI_LED_BITMAP_HEIGHT = 6
 
const int LOGI_LED_BITMAP_BYTES_PER_KEY = 4
 
const int LOGI_LED_BITMAP_SIZE = 504
 
const int LOGI_LED_DURATION_INFINITE = 0
 
const string DLL_NAME = "LogitechLedEnginesWrapper "
 

Static Private Attributes

const int LOGI_DEVICETYPE_MONOCHROME_ORD = 0
 
const int LOGI_DEVICETYPE_RGB_ORD = 1
 
const int LOGI_DEVICETYPE_PERKEY_RGB_ORD = 2
 

Detailed Description

Definition at line 5 of file NativeMethods.cs.


The documentation for this class was generated from the following file: