mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 02:28:51 +00:00
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:
parent
5f74d0e08f
commit
26f6648421
2 changed files with 6 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue