Talk:Button Combo Menus: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
= Same on Vita =
= Same combo on PS Vita =
 
* https://assemblergames.com/threads/ps-vita-testkit-ptel-show-mode-info.62435/
* https://assemblergames.com/threads/ps-vita-testkit-ptel-show-mode-info.62435/


= Sources =
= Sources =
<pre>
<pre>
//RootSettingHandler
//RootSettingHandler
Line 47: Line 49:
{
{
createVersionDetailsUi();
createVersionDetailsUi();
});
}
...
//SettingsRootHandler
else if (SblWrapper.SblRcMgrIsAllowDebugMenuForSettings() == 1 || SblWrapper.SblRcMgrIsAllowMinimumDebugMenuForSettings() == 1 || KernelSysWrapper.IsDevKit() == 1)
{
SettingsPadEntry[] padEntries = new SettingsPadEntry[1]
{
new SettingsPadEntry((Buttons)31752u, 0u)
};
base.UIManager.SetPadListener(padEntries, delegate
{
showDebugSettings = true;
base.UIManager.ResetMenuItem("debug_settings");
});
});
}
}
</pre>
</pre>

Latest revision as of 02:23, 2 March 2021

Same combo on PS Vita[edit source]

Sources[edit source]

//RootSettingHandler
SettingsPadEntry[] padEntries = new SettingsPadEntry[13]
					{
						new SettingsPadEntry(Buttons.L, 0u),
						new SettingsPadEntry(Buttons.R, 0u),
						new SettingsPadEntry(Buttons.L, 0u),
						new SettingsPadEntry(Buttons.R, 0u),
						new SettingsPadEntry(Buttons.L2, 0u),
						new SettingsPadEntry(Buttons.R2, 0u),
						new SettingsPadEntry(Buttons.L2, 0u),
						new SettingsPadEntry(Buttons.R2, 0u),
						new SettingsPadEntry(Buttons.Square, 0u),
						new SettingsPadEntry(Buttons.Triangle, 0u),
						new SettingsPadEntry(Buttons.Start, 0u),
						new SettingsPadEntry(Buttons.L3, 0u),
						new SettingsPadEntry(Buttons.R3, 0u)
					};
					base.UIManager.SetPadListener(padEntries, SpecialCommandFunc);

...
//ConsoleInfoPage
if (SblWrapper.SblRcMgrIsAllowDebugMenuForSettings() == 1 || SblWrapper.SblRcMgrIsAllowMinimumDebugMenuForSettings() == 1 || SblWrapper.SblRcMgrIsStoreMode() == 1)
				{
					SettingsPadEntry[] padEntries = new SettingsPadEntry[2]
					{
						new SettingsPadEntry((Buttons)3089u, 5000u),
						new SettingsPadEntry(Buttons.Start, 0u)
					};
					UIManager.Instance.SetPadListener(padEntries, delegate
					{
						createVersionDetailsUi();
					});
				}
				else
				{
					SettingsPadEntry[] padEntries2 = new SettingsPadEntry[2]
					{
						new SettingsPadEntry((Buttons)17440u, 5000u),
						new SettingsPadEntry((Buttons)258u, 0u)
					};
					UIManager.Instance.SetPadListener(padEntries2, delegate
					{
						createVersionDetailsUi();
					});
				}
...
//SettingsRootHandler
else if (SblWrapper.SblRcMgrIsAllowDebugMenuForSettings() == 1 || SblWrapper.SblRcMgrIsAllowMinimumDebugMenuForSettings() == 1 || KernelSysWrapper.IsDevKit() == 1)
				{
					SettingsPadEntry[] padEntries = new SettingsPadEntry[1]
					{
						new SettingsPadEntry((Buttons)31752u, 0u)
					};
					base.UIManager.SetPadListener(padEntries, delegate
					{
						showDebugSettings = true;
						base.UIManager.ResetMenuItem("debug_settings");
					});
				}