Changes

974 bytes added ,  15:45, 20 April 2020
no edit summary
Line 3,038: Line 3,038:  
= ButtonConfigEmbedded =
 
= ButtonConfigEmbedded =
 
This is "nn::hidconfig::ButtonConfigEmbedded". This is a 0x54-byte struct.
 
This is "nn::hidconfig::ButtonConfigEmbedded". This is a 0x54-byte struct.
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x44 (4*17) || [[#ButtonConfig]]
 +
|-
 +
| 0x44 || 0x8 || [[#JoystickConfig]]
 +
|-
 +
| 0x4C || 0x8 || [[#JoystickConfig]]
 +
|}
 +
 +
== ButtonConfig ==
 +
u32 button mapping config. Must be value 0 - 22, which selects what button to map to.
 +
 +
== JoystickConfig ==
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x4 ||
 +
|-
 +
| 0x4 || 0x1 || Flag
 +
|-
 +
| 0x5 || 0x3 || Padding
 +
|}
    
= ButtonConfigFull =
 
= ButtonConfigFull =
 
This is "nn::hidconfig::ButtonConfigFull". This is a 0x54-byte struct.
 
This is "nn::hidconfig::ButtonConfigFull". This is a 0x54-byte struct.
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x44 (4*17) || [[#ButtonConfig]]
 +
|-
 +
| 0x44 || 0x8 || [[#JoystickConfig]]
 +
|-
 +
| 0x4C || 0x8 || [[#JoystickConfig]]
 +
|}
    
= ButtonConfigLeft =
 
= ButtonConfigLeft =
 
This is "nn::hidconfig::ButtonConfigLeft". This is a 0x34-byte struct.
 
This is "nn::hidconfig::ButtonConfigLeft". This is a 0x34-byte struct.
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x2C (4*11) || [[#ButtonConfig]]
 +
|-
 +
| 0x2C || 0x8 || [[#JoystickConfig]]
 +
|}
    
= ButtonConfigRight =
 
= ButtonConfigRight =
 
This is "nn::hidconfig::ButtonConfigRight". This is a 0x30-byte struct.
 
This is "nn::hidconfig::ButtonConfigRight". This is a 0x30-byte struct.
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x28 (4*10) || [[#ButtonConfig]]
 +
|-
 +
| 0x28 || 0x8 || [[#JoystickConfig]]
 +
|}
 +
    
= IrCameraHandle =
 
= IrCameraHandle =