mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
Input: simplify InitPadConfig
This commit is contained in:
parent
cf86b6c107
commit
814adbb8c4
6 changed files with 9 additions and 38 deletions
|
|
@ -342,7 +342,7 @@ void evdev_joystick_handler::get_next_button_press(const std::string& padId, con
|
|||
return it != data.end() && dir == it->second.second ? it->second.first : 0;
|
||||
};
|
||||
|
||||
pad_preview_values preview_values = { 0, 0, 0, 0, 0, 0 };
|
||||
pad_preview_values preview_values{};
|
||||
|
||||
if (buttons.size() == 10)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue