mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12: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
1 changed files with 6 additions and 0 deletions
|
@ -1209,6 +1209,12 @@ void pad_settings_dialog::ChangeHandler()
|
||||||
m_min_force = m_handler->vibration_min;
|
m_min_force = m_handler->vibration_min;
|
||||||
m_max_force = m_handler->vibration_max;
|
m_max_force = m_handler->vibration_max;
|
||||||
|
|
||||||
|
// Reset parameters
|
||||||
|
m_lx = 0;
|
||||||
|
m_ly = 0;
|
||||||
|
m_rx = 0;
|
||||||
|
m_ry = 0;
|
||||||
|
|
||||||
// Enable Vibration Checkboxes
|
// Enable Vibration Checkboxes
|
||||||
m_enable_rumble = m_handler->has_rumble();
|
m_enable_rumble = m_handler->has_rumble();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue