mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 09:09:04 +00:00
DolphinQt/Mapping: Disable relative input when "Mouse Controlled Pointing" button is pressed.
This commit is contained in:
parent
dbc7e03577
commit
31dc3477ad
4 changed files with 14 additions and 2 deletions
|
@ -186,7 +186,6 @@ public:
|
|||
|
||||
bool IsSimpleValue() const { return m_input.GetExpression().empty(); }
|
||||
|
||||
private:
|
||||
void SetValue(ValueType value)
|
||||
{
|
||||
m_value = value;
|
||||
|
@ -195,6 +194,7 @@ private:
|
|||
m_input.SetExpression("");
|
||||
}
|
||||
|
||||
private:
|
||||
// Values are R/W by both UI and CPU threads.
|
||||
mutable std::atomic<ValueType> m_value = {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue