forked from cafeberry/cafeberry
feat: Touchpad support on W64, update 4JLibs & update x360 xzp
This commit is contained in:
@@ -12,7 +12,7 @@ UIScene_AbstractContainerMenu::UIScene_AbstractContainerMenu(int iPad, UILayer *
|
||||
// in this scene, we override the press sound with our own for crafting success or fail
|
||||
ui.OverrideSFX(m_iPad,ACTION_MENU_A,true);
|
||||
ui.OverrideSFX(m_iPad,ACTION_MENU_OK,true);
|
||||
#ifdef __ORBIS__
|
||||
#if defined __ORBIS__ || _WINDOWS64
|
||||
ui.OverrideSFX(m_iPad,ACTION_MENU_TOUCHPAD_PRESS,true);
|
||||
#endif
|
||||
ui.OverrideSFX(m_iPad,ACTION_MENU_X,true);
|
||||
@@ -51,7 +51,7 @@ void UIScene_AbstractContainerMenu::handleDestroy()
|
||||
|
||||
ui.OverrideSFX(m_iPad,ACTION_MENU_A,false);
|
||||
ui.OverrideSFX(m_iPad,ACTION_MENU_OK,false);
|
||||
#ifdef __ORBIS__
|
||||
#if defined __ORBIS__ || _WINDOWS64
|
||||
ui.OverrideSFX(m_iPad,ACTION_MENU_TOUCHPAD_PRESS,false);
|
||||
#endif
|
||||
ui.OverrideSFX(m_iPad,ACTION_MENU_X,false);
|
||||
|
||||
Reference in New Issue
Block a user