mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 01:49:33 -06:00
InputCommon: Fix occasional misidentification of analog input detection.
This commit is contained in:
@ -217,6 +217,8 @@ public:
|
||||
Clock::time_point press_time;
|
||||
std::optional<Clock::time_point> release_time;
|
||||
ControlState smoothness = 0;
|
||||
|
||||
bool IsAnalogPress() const { return smoothness > 1.00001; }
|
||||
};
|
||||
|
||||
Device::Input* FindInput(std::string_view name, const Device* def_dev) const;
|
||||
|
Reference in New Issue
Block a user