Controller Applet: Difference between revisions

No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 33: Line 33:
| 0x0 || 0x4 || Size of this ControllerSupportArgPrivate struct.
| 0x0 || 0x4 || Size of this ControllerSupportArgPrivate struct.
|-
|-
| 0x4 || 0x4 || Size of the storage following this one ([[#ControllerSupportArg]] or [[#ControllerFirmwareUpdateArg]]). With ShowControllerKeyRemappingForSystem, this is the size of [[#ControllerSupportArg]] even though the actual storage is [[#ControllerKeyRemappingArg]].
| 0x4 || 0x4 || Size of [[#ControllerSupportArg]].
|-
|-
| 0x8 || 0x1 || Flag0
| 0x8 || 0x1 || Flag0
Line 92: Line 92:
|-
|-
| 0x1 || 0x3 || u8 padding[3].
| 0x1 || 0x3 || u8 padding[3].
|}
== ControllerKeyRemappingArg ==
This is "nn::hid::system::ControllerKeyRemappingArg". This is a 0x10-byte struct.
The defaults for this is all-zero for the first 0xC-bytes.
{| class="wikitable" border="1"
|-
!  Offset
!  Size
!  Description
|-
| 0x0 || 0x8 ||
|-
| 0x8 || 0x4 ||
|-
| 0xC || 0x4 || Padding
|}
|}


Line 146: Line 164:
|-
|-
| 0x4 || 0x4 || u32 selectedId, NpadId.
| 0x4 || 0x4 || u32 selectedId, NpadId.
|}
== ControllerKeyRemappingArg ==
This is "nn::hid::system::ControllerKeyRemappingArg". This is a 0x10-byte struct.
The defaults for this is all-zero for the first 0xC-bytes.
{| class="wikitable" border="1"
|-
!  Offset
!  Size
!  Description
|-
| 0x0 || 0x8 ||
|-
| 0x8 || 0x4 ||
|-
| 0xC || 0x4 || Padding
|}
|}