mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DolphinQt: Add MotionPlus support to TAS input
Will manually controlling both an accelerometer and a gyroscope at the same time be reasonable to do? No idea. Was this easy to implement thanks to the input override system? Yes. Fixes https://bugs.dolphin-emu.org/issues/12443.
This commit is contained in:
@ -17,13 +17,13 @@ int TASSpinBox::GetValue() const
|
||||
|
||||
void TASSpinBox::OnControllerValueChanged(int new_value)
|
||||
{
|
||||
if (m_state.OnControllerValueChanged(static_cast<u16>(new_value)))
|
||||
if (m_state.OnControllerValueChanged(new_value))
|
||||
QueueOnObject(this, &TASSpinBox::ApplyControllerValueChange);
|
||||
}
|
||||
|
||||
void TASSpinBox::OnUIValueChanged(int new_value)
|
||||
{
|
||||
m_state.OnUIValueChanged(static_cast<u16>(new_value));
|
||||
m_state.OnUIValueChanged(new_value);
|
||||
}
|
||||
|
||||
void TASSpinBox::ApplyControllerValueChange()
|
||||
|
Reference in New Issue
Block a user