Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
CorsairMousepad.cs
Go to the documentation of this file.
2
4
6{
7 private CorsairMousepad(Fragment fragment, CorsairLedPosition[] leds, DeviceColorProfile colorProfile)
8 : base(RgbDeviceType.Mousepad, fragment, leds, colorProfile)
9 {
10 }
11
12 public static CorsairMousepad Create(int deviceIndex, DeviceColorProfile colorProfile)
13 {
14 //IL_0012: Unknown result type (might be due to invalid IL or missing references)
15 CorsairLedPosition[] ledPositionsForMouseMatOrKeyboard = CorsairHelper.GetLedPositionsForMouseMatOrKeyboard(deviceIndex);
16 return new CorsairMousepad(CorsairHelper.CreateFragment(ledPositionsForMouseMatOrKeyboard, new Vector2(1040f, 0f)), ledPositionsForMouseMatOrKeyboard, colorProfile);
17 }
18}
static Fragment CreateFragment(CorsairLedPosition[] leds, Vector2 offset)
static CorsairLedPosition[] GetLedPositionsForMouseMatOrKeyboard(int deviceIndex)
static CorsairMousepad Create(int deviceIndex, DeviceColorProfile colorProfile)
CorsairMousepad(Fragment fragment, CorsairLedPosition[] leds, DeviceColorProfile colorProfile)