Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
RazerKeypad.cs
Go to the documentation of this file.
2
4
5internal class RazerKeypad : RgbDevice
6{
8
9 private readonly EffectHandle _handle = new EffectHandle();
10
11 public RazerKeypad(DeviceColorProfile colorProfile)
12 : base(RgbDeviceVendor.Razer, RgbDeviceType.Keypad, Fragment.FromGrid(new Rectangle(-10, 0, 5, 4)), colorProfile)
13 {
14 }//IL_001e: Unknown result type (might be due to invalid IL or missing references)
15
16
17 public override void Present()
18 {
19 //IL_0012: Unknown result type (might be due to invalid IL or missing references)
20 for (int i = 0; i < base.LedCount; i++)
21 {
23 }
25 _handle.Apply();
26 }
27}
void SetAsKeypadEffect(ref NativeMethods.CustomKeypadEffect effect)
static uint Vector4ToDeviceColor(Vector4 color)
Definition RazerHelper.cs:7
NativeMethods.CustomKeypadEffect _effect
Definition RazerKeypad.cs:7
RazerKeypad(DeviceColorProfile colorProfile)
Vector4 GetProcessedLedColor(int index)
Definition RgbDevice.cs:37