StickGate: add custom clamp value

Works exactly as before by default.
It will be used by my upcoming input PRs.
This commit is contained in:
Filoppi
2021-05-05 00:19:45 +03:00
parent 5f74d0e08f
commit 26f6648421
2 changed files with 6 additions and 4 deletions

View File

@ -108,7 +108,8 @@ public:
void SetCenter(ReshapeData center);
protected:
ReshapeData Reshape(ControlState x, ControlState y, ControlState modifier = 0.0) const;
ReshapeData Reshape(ControlState x, ControlState y, ControlState modifier = 0.0,
ControlState clamp = 1.0) const;
private:
void LoadConfig(IniFile::Section*, const std::string&, const std::string&) override;