HFTGamepad.Update C# (CSharp) Method

Update() public method

public Update ( ) : void
return void
    void Update()
    {
        // Seems kind of dumb to do it this way but it's easier for users
        if (!m_oldControllerOptions.SameValues(controllerOptions))
        {
          m_oldControllerOptions = new ControllerOptions(controllerOptions);
          SendControllerOptions();
        }

        if (m_oldColor != color)
        {
          m_oldColor = color;
          SendColor();
        }
    }