HID Shared Memory: Difference between revisions

No edit summary
No edit summary
Line 90: Line 90:
|-
|-
| 0x0
| 0x0
| 0x4
| 0x8
| Unk
| Timestamp
|-
| 0x4
| 0x4
| Unk
|-
|-
| 0x8
| 0x8
| 0x4
| 0x8
| Unk
| Number of Entries
|-
| 0xC
| 0x4
| Unk
|-
|-
| 0x10
| 0x10
Line 111: Line 103:
| 0x18
| 0x18
| 0x8
| 0x8
| Unk
| Unk, 0x10
|-
|-
| 0x20
| 0x20
Line 222: Line 214:
|-
|-
| 0x0
| 0x0
| 0x4
| 0x8
| Timestamp?
| Timestamp
|-
| 0x4
| 0x4
| Unknown
|-
|-
| 0x8
| 0x8
| 0x4
| 0x8
| Unknown
| Number of Entries
|-
| 0xC
| 0x4
| Unknown
|-
|-
| 0x10
| 0x10
| 0x8
| 0x8
| 6 when connected, 1 disconnected
| Unk, 6 when connected, 1 disconnected
|-
|-
| 0x18
| 0x18
| 0x8
| 0x8
| Unknown
| Unk, 0x10
|-
|-
|}
|}
Line 321: Line 305:
|-
|-
| 0x0
| 0x0
| 0x4
| 0x8
| Timestamp?
| Timestamp
|-
| 0x4
| 0x4
| Unknown
|-
|-
| 0x8
| 0x8
| 0x4
| 0x8
| Unknown
| Number of Entries
|-
| 0xC
| 0x4
| Unknown
|-
|-
| 0x10
| 0x10
| 0x8
| 0x8
| 6 when connected
| Unk, 6 when connected
|-
|-
| 0x18
| 0x18
| 0x8
| 0x8
| Unknown
| Unk, 0x10
|-
|-
|}
|}
Line 509: Line 485:
| 0x4
| 0x4
| RGBA Button Color (left Joy-Con)
| RGBA Button Color (left Joy-Con)
|-
|}
==== Controller State Header ====
{| class="wikitable" border="1"
|-
!  Offset
!  Size in bytes
!  Description
|-
| 0x0
| 0x8
| Timestamp
|-
| 0x8
| 0x8
| Number of entries, always 17
|-
| 0x10
| 0x8
| Unknown, increments
|-
| 0x8
| 0x8
| Unknown, 0x10
|-
|-
|}
|}