Talk:Button Combo Menus: Difference between revisions

From PS4 Developer wiki
Jump to navigation Jump to search
(Created page with "= Same on Vita = * https://assemblergames.com/threads/ps-vita-testkit-ptel-show-mode-info.62435/")
 
Line 1: Line 1:
= Same on Vita =
= Same on 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 =
<pre>
//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);
</pre>

Revision as of 01:48, 10 November 2018

Same on Vita

Sources

//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);