mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
Input: improve MMJOY settings dialog / change threshold behaviour
This commit is contained in:
parent
a285409f59
commit
6891371a79
10 changed files with 121 additions and 66 deletions
|
@ -96,7 +96,20 @@ pad_settings_dialog::pad_settings_dialog(const std::string& device, std::shared_
|
|||
|
||||
connect(&m_timer_input, &QTimer::timeout, [=]()
|
||||
{
|
||||
m_handler->GetNextButtonPress(m_device_name, callback);
|
||||
std::vector<std::string> buttons =
|
||||
{
|
||||
m_cfg_entries[button_ids::id_pad_l2].key,
|
||||
m_cfg_entries[button_ids::id_pad_r2].key,
|
||||
m_cfg_entries[button_ids::id_pad_lstick_left].key,
|
||||
m_cfg_entries[button_ids::id_pad_lstick_right].key,
|
||||
m_cfg_entries[button_ids::id_pad_lstick_down].key,
|
||||
m_cfg_entries[button_ids::id_pad_lstick_up].key,
|
||||
m_cfg_entries[button_ids::id_pad_rstick_left].key,
|
||||
m_cfg_entries[button_ids::id_pad_rstick_right].key,
|
||||
m_cfg_entries[button_ids::id_pad_rstick_down].key,
|
||||
m_cfg_entries[button_ids::id_pad_rstick_up].key
|
||||
};
|
||||
m_handler->GetNextButtonPress(m_device_name, callback, false, buttons);
|
||||
});
|
||||
|
||||
m_timer_input.start(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue