mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
InputCommon: Constify Device::Input::IsDetectable function.
This commit is contained in:
parent
2b6a1ee4d8
commit
da12f3eebc
9 changed files with 13 additions and 13 deletions
|
@ -70,7 +70,7 @@ public:
|
|||
public:
|
||||
// Things like absolute axes/ absolute mouse position should override this to prevent
|
||||
// undesirable behavior in our mapping logic.
|
||||
virtual bool IsDetectable() { return true; }
|
||||
virtual bool IsDetectable() const { return true; }
|
||||
|
||||
// Implementations should return a value from 0.0 to 1.0 across their normal range.
|
||||
// One input should be provided for each "direction". (e.g. 2 for each axis)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue