mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +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
|
@ -87,14 +87,14 @@ private:
|
|||
{
|
||||
public:
|
||||
using AnalogInput::AnalogInput;
|
||||
bool IsDetectable() override { return false; }
|
||||
bool IsDetectable() const override { return false; }
|
||||
};
|
||||
|
||||
class MotionInput final : public AnalogInput<float>
|
||||
{
|
||||
public:
|
||||
using AnalogInput::AnalogInput;
|
||||
bool IsDetectable() override { return false; }
|
||||
bool IsDetectable() const override { return false; }
|
||||
};
|
||||
|
||||
using AccelerometerInput = MotionInput;
|
||||
|
@ -121,7 +121,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
bool IsDetectable() override { return false; }
|
||||
bool IsDetectable() const override { return false; }
|
||||
|
||||
private:
|
||||
const BatteryState& m_battery;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue