mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
Qt: Reset stick positions on pad handler change
Fixes weird stick positions when pads are disconnected or not sticks are not supported.
This commit is contained in:
parent
e56609d836
commit
e3eaf5f29e
|
|
@ -1209,6 +1209,12 @@ void pad_settings_dialog::ChangeHandler()
|
|||
m_min_force = m_handler->vibration_min;
|
||||
m_max_force = m_handler->vibration_max;
|
||||
|
||||
// Reset parameters
|
||||
m_lx = 0;
|
||||
m_ly = 0;
|
||||
m_rx = 0;
|
||||
m_ry = 0;
|
||||
|
||||
// Enable Vibration Checkboxes
|
||||
m_enable_rumble = m_handler->has_rumble();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue