mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-15 22:21:25 +00:00
Qt/input: clear min_button_values if we want to get the blacklist
This commit is contained in:
parent
16a6915525
commit
326375ad9a
@ -225,7 +225,7 @@ PadHandlerBase::connection PadHandlerBase::get_next_button_press(const std::stri
|
||||
if (get_blacklist)
|
||||
blacklist.clear();
|
||||
|
||||
if (first_call)
|
||||
if (first_call || get_blacklist)
|
||||
min_button_values.clear();
|
||||
|
||||
auto device = get_device(pad_id);
|
||||
|
@ -302,7 +302,7 @@ PadHandlerBase::connection evdev_joystick_handler::get_next_button_press(const s
|
||||
if (get_blacklist)
|
||||
m_blacklist.clear();
|
||||
|
||||
if (first_call)
|
||||
if (first_call || get_blacklist)
|
||||
m_min_button_values.clear();
|
||||
|
||||
// Get our evdev device
|
||||
|
@ -226,7 +226,7 @@ PadHandlerBase::connection mm_joystick_handler::get_next_button_press(const std:
|
||||
if (get_blacklist)
|
||||
m_blacklist.clear();
|
||||
|
||||
if (first_call)
|
||||
if (first_call || get_blacklist)
|
||||
m_min_button_values.clear();
|
||||
|
||||
if (!Init())
|
||||
|
Loading…
x
Reference in New Issue
Block a user