Changes

1,487 bytes added ,  19:55, 17 January 2020
Line 48: Line 48:  
| 0x5A00
 
| 0x5A00
 
| 0x4000 (0x400 * 0x10)
 
| 0x4000 (0x400 * 0x10)
| [[#UniquePad]]
+
| [1.0.0-4.1.0] [[#UniquePad]]
 
|-
 
|-
 
| 0x9A00
 
| 0x9A00
Line 658: Line 658:  
This section contains a series of 16 structures 0x400 bytes large.
 
This section contains a series of 16 structures 0x400 bytes large.
    +
[5.0.0+] This section has been removed from SharedMemoryFormat. [[#UniquePad]] is now a specialization of [[#Npad]].
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0
 +
| 0x80
 +
| [[#UniquePadConfig]]
 +
|-
 +
| 0x80
 +
| 0x70 * 2
 +
| Array of [[#AnalogStickCalibration]]
 +
|}
 +
 +
=== UniquePadConfig ===
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0
 +
| 0x20
 +
| [[#UniquePadConfigHeader]]
 +
|-
 +
| 0x20
 +
| 0x30 * 2
 +
| Array of [[#UniquePadConfigState]]
 +
|}
 +
 +
==== UniquePadConfigHeader ====
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0
 +
| 0x8
 +
| Timestamp in ticks
 +
|-
 +
| 0x8
 +
| 0x8
 +
| Number of Entries (always 17)
 +
|-
 +
| 0x10
 +
| 0x8
 +
| Latest Entry Index
 +
|-
 +
| 0x18
 +
| 0x8
 +
| Maximum Entry Index (always 16)
 +
|}
 +
 +
==== UniquePadConfigState ====
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
 
! Offset
 
! Offset
! Size in bytes
+
! Size
 
! Description
 
! Description
 
|-
 
|-
| 0x30
+
| 0x0
| 0xE
+
| 0x8
 +
| Timestamp in samples (global)
 +
|-
 +
| 0x8
 +
| 0x8
 +
|
 +
|-
 +
| 0x10
 +
| 0x20
 
| Controller Serial
 
| Controller Serial
 +
|}
 +
 +
=== AnalogStickCalibration ===
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 
|-
 
|-
| 0x60
+
| 0x0
| 0xE
+
| 0x20
| Controller Serial
+
| [[#AnalogStickCalibrationHeader]]
 +
|-
 +
| 0x20
 +
| 0x28 * 2
 +
| Array of [[#AnalogStickCalibrationState]]
 +
|}
 +
 
 +
==== AnalogStickCalibrationHeader ====
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0
 +
| 0x8
 +
| Timestamp in ticks
 +
|-
 +
| 0x8
 +
| 0x8
 +
| Number of Entries (always 17)
 +
|-
 +
| 0x10
 +
| 0x8
 +
| Latest Entry Index
 +
|-
 +
| 0x18
 +
| 0x8
 +
| Maximum Entry Index (always 16)
 +
|}
 +
 
 +
==== AnalogStickCalibrationState ====
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0
 +
| 0x8
 +
| Timestamp in samples (global)
 +
|-
 +
| 0x8
 +
| 0x28
 +
|  
 
|}
 
|}