mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-11-18 09:46:19 -06:00
Merge pull request #14830 from JoshuaVandaele/sdl-miscs
SDLGamepad: Add Misc 2 through 6
This commit is contained in:
@@ -333,6 +333,9 @@ bool Gamepad::Button::IsMatchingName(std::string_view name) const
|
||||
return true;
|
||||
|
||||
// Match the old "Button 0"-like names.
|
||||
if (m_binding.output_type == SDL_GAMEPAD_BINDTYPE_BUTTON)
|
||||
return name == GetLegacyButtonName(m_binding.output.button);
|
||||
|
||||
switch (m_binding.input_type)
|
||||
{
|
||||
case SDL_GAMEPAD_BINDTYPE_BUTTON:
|
||||
|
||||
Reference in New Issue
Block a user