feat: Touchpad support on W64, update 4JLibs & update x360 xzp

This commit is contained in:
2026-09-15 21:37:32 -04:00
parent a4326aec9a
commit de1dacafcb
51 changed files with 72 additions and 77 deletions
@@ -237,8 +237,7 @@ void UIScene_MainMenu::handleReload()
removeControl( &m_buttons[(int)eControl_Exit], false );
// We don't have a way to display trophies/achievements, so remove the button
removeControl( &m_buttons[(int)eControl_Achievements], false );
#endif
#ifdef _DURANGO
#elif _DURANGO
// Allowed to not have achievements in the menu
removeControl( &m_buttons[(int)eControl_Achievements], false );
#endif
@@ -250,7 +249,7 @@ void UIScene_MainMenu::handleInput(int iPad, int key, bool repeat, bool pressed,
if ( m_bIgnorePress || (eNavigateWhenReady >= 0) ) return;
#if defined (__ORBIS__) || defined (__PSVITA__)
#if (defined __ORBIS__ || __PSVITA__ || _WINDOWS64)
// ignore all players except player 0 - it's their profile that is currently being used
if(iPad!=0) return;
#endif
@@ -260,7 +259,7 @@ void UIScene_MainMenu::handleInput(int iPad, int key, bool repeat, bool pressed,
switch(key)
{
case ACTION_MENU_OK:
#ifdef __ORBIS__
#if defined __ORBIS__ || _WINDOWS64
case ACTION_MENU_TOUCHPAD_PRESS:
#endif
if(pressed)
@@ -278,8 +277,7 @@ void UIScene_MainMenu::handleInput(int iPad, int key, bool repeat, bool pressed,
ProfileManager.RequestSignInUI(false, false, false, false, false, ChooseUser_SignInReturned, this, iPad);
}
break;
#endif
#ifdef __PSVITA__
#elif __PSVITA__
case ACTION_MENU_X:
if(pressed && ProfileManager.IsFullVersion())
{
@@ -563,7 +561,7 @@ int UIScene_MainMenu::MustSignInReturnedPSN(void *pParam,int iPad,C4JStorage::EM
SQRNetworkManager_PS3::AttemptPSNSignIn(&UIScene_MainMenu::UnlockFullGame_SignInReturned, pClass);
break;
}
#elif defined __PSVITA__
#elif __PSVITA__
switch(pClass->m_eAction)
{
case eAction_RunLeaderboardsPSN: