Ejemplo n.º 1
0
 public void changedBombState(string state)
 {
     if (state == "planted")
     {
         LogitechGSDK.LogiLedPulseLighting(100, 0, 0, 40000, 500);
     }
     else if (state == "defused")
     {
         LogitechGSDK.LogiLedPulseLighting(0, 100, 0, 4000, 500);
     }
     else
     {
         changedTeam("");
     }
 }
Ejemplo n.º 2
0
 public GameState()
 {
     LogitechGSDK.LogiLedInit();
     gameController.changedTeam("Start");
 }
Ejemplo n.º 3
0
 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);
 }