mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00: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 New Issue
Block a user