Input: improve MMJOY settings dialog / change threshold behaviour

This commit is contained in:
Unknown 2017-12-01 14:21:27 +01:00 committed by Ivan
parent a285409f59
commit 6891371a79
10 changed files with 121 additions and 66 deletions

View file

@ -147,7 +147,7 @@ ds4_pad_handler::ds4_pad_handler() : is_init(false)
m_thumb_threshold = thumb_max / 2;
}
void ds4_pad_handler::GetNextButtonPress(const std::string& padId, const std::function<void(u16, std::string, int[])>& callback, bool get_blacklist)
void ds4_pad_handler::GetNextButtonPress(const std::string& padId, const std::function<void(u16, std::string, int[])>& callback, bool get_blacklist, std::vector<std::string> buttons)
{
if (get_blacklist)
blacklist.clear();