public void changedTeam(string team) { if (team == "CT") { currentSchema = ctColor; } else if (team == "T") { currentSchema = ttColor; } else if (team != "") { currentSchema = idleColor; } updateColorSchema(currentSchema, currentSchema); }
public void updateColorSchema(ColorSchema keyBoardSchema, ColorSchema mouseSchema) { LogitechGSDK.LogiLedSetLighting(mouseSchema.Red, mouseSchema.Green, mouseSchema.Blue); LogitechGSDK.LogiLedSetLightingForTargetZone(CSGO_Logitech_Integration.DeviceType.Keyboard, 0, keyBoardSchema.Red, keyBoardSchema.Green, keyBoardSchema.Blue); //LogitechGSDK.LogiLedSetLightingForTargetZone(CSGO_Logitech_Integration.DeviceType.Keyboard, 1, 100, 100, 0); }