feat: SDL3 for rumble & PS touchpad thingy

This commit is contained in:
2026-09-14 21:27:48 -04:00
parent 0c3536ab2f
commit f85bdd8a45
4 changed files with 22 additions and 12 deletions
+5
View File
@@ -148,6 +148,11 @@ void CInput::SetJoypadValues(JOYPAD *pThisPad)
pThisPad->m_uiButtons |= _360_JOY_BUTTON_BACK;
}
if (SDL_GetGamepadButton(pGamePad, SDL_GAMEPAD_BUTTON_TOUCHPAD))
{
pThisPad->m_uiButtons |= _PS_JOY_BUTTON_TOUCHPAD;
}
if (SDL_GetGamepadButton(pGamePad, SDL_GAMEPAD_BUTTON_LEFT_STICK))
{
pThisPad->m_uiButtons |= _360_JOY_BUTTON_LTHUMB;