ControllerInterface: Gate the input based on our new background input setting

This commit is contained in:
Jasper St. Pierre
2014-07-11 10:53:51 -04:00
parent 5abc028ace
commit 74f3083381
3 changed files with 36 additions and 2 deletions

View File

@ -228,12 +228,12 @@ public:
virtual ControlState GetValue() override
{
return control->ToInput()->GetState();
return control->ToInput()->GetGatedState();
}
virtual void SetValue(ControlState value) override
{
control->ToOutput()->SetState(value);
control->ToOutput()->SetGatedState(value);
}
virtual int CountNumControls() override