mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
DolphinQt/Mapping: Disable relative input when "Mouse Controlled Pointing" button is pressed.
This commit is contained in:
@ -181,6 +181,11 @@ ControlState Cursor::GetVerticalOffset() const
|
||||
return m_vertical_offset_setting.GetValue() / 100;
|
||||
}
|
||||
|
||||
void Cursor::SetRelativeInput(bool value)
|
||||
{
|
||||
m_relative_setting.SetValue(value);
|
||||
}
|
||||
|
||||
bool Cursor::StateData::IsVisible() const
|
||||
{
|
||||
return !std::isnan(x);
|
||||
|
@ -40,6 +40,8 @@ public:
|
||||
// Vertical offset in meters.
|
||||
ControlState GetVerticalOffset() const;
|
||||
|
||||
void SetRelativeInput(bool enabled);
|
||||
|
||||
private:
|
||||
Cursor::StateData UpdateState(Cursor::ReshapeData input);
|
||||
|
||||
|
Reference in New Issue
Block a user