Controller Applet: Difference between revisions
Created page with "This is the controller applet which can be launched by Home Menu. Official sw uses this under <code>nn::hid</code>, and <code>nn::hid::system</code> with the "ForSystem" funcs..." |
No edit summary |
||
Line 19: | Line 19: | ||
This is "nn::hid::system::ControllerSupportArgPrivate". This is a 0x14-byte struct pushed for input storage. The data here is setup by sdknso internally without exposing it to the user. | This is "nn::hid::system::ControllerSupportArgPrivate". This is a 0x14-byte struct pushed for input storage. The data here is setup by sdknso internally without exposing it to the user. | ||
PlayStartupSound is set to <code>(Flag1 != 0) & (Flag0 != 0)</code>. | PlayStartupSound is set to <code>(Flag1 != 0) & (Flag0 != 0)</code>. Flag0/Flag1 are always 0 except with *ForSystem funcs in sdknso. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 37: | Line 37: | ||
| 0xA || 0x1 || [[#Type]] | | 0xA || 0x1 || [[#Type]] | ||
|- | |- | ||
| 0xB || 0x1 || <code>nn::hid::system::ControllerSupportCaller</code>, the | | 0xB || 0x1 || <code>nn::hid::system::ControllerSupportCaller</code>. Always zero except with ShowControllerFirmwareUpdateForSystem, which sets this to the input param. | ||
|- | |- | ||
| 0xC || 0x4 || Output from [[HID_services#GetSupportedNpadStyleSet|GetSupportedNpadStyleSet]]. | | 0xC || 0x4 || Output from [[HID_services#GetSupportedNpadStyleSet|GetSupportedNpadStyleSet]]. | ||
Line 81: | Line 81: | ||
! Name || Type value || Description | ! Name || Type value || Description | ||
|- | |- | ||
| ShowControllerSupport || 0 || | |||
|- | |||
| [3.0.0+] ShowControllerStrapGuide || 1 || | |||
|- | |||
| [3.0.0+] ShowControllerFirmwareUpdate || 2 || | |||
|} | |} | ||