feat: SDL3 for rumble & PS touchpad thingy

This commit is contained in:
str1k3r committed 2026-09-14 21:27:48 -04:00
1 parent 0c3536ab2f
commit f85bdd8a45
4 files changed
+22 -12

No files matched your search

+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;