HID Shared Memory: Difference between revisions

Endrift (talk | contribs)
Fill in some SixAxisSensor information
Line 440: Line 440:
|-
|-
| 0x1758
| 0x1758
| ?
| 0x20 header + 0x68 * 17
| SixAxisSensor Pro Controller State
| SixAxisSensor Pro Controller State
|-
|-
| 0x1E60
| 0x1E60
| ?
| 0x20 header + 0x68 * 17
| SixAxisSensor Handheld State
| SixAxisSensor Handheld State
|-
|-
| 0x2578
| 0x2568
| ?
| 0x20 header + 0x68 * 17
| SixAxisSensor Pair Left State
| SixAxisSensor Pair Left State
|-
|-
| 0x2C80
| 0x2C70
| ?
| 0x20 header + 0x68 * 17
| SixAxisSensor Pair Right State
| SixAxisSensor Pair Right State
|-
|-
| 0x3378
| 0x3378
| ?
| 0x20 header + 0x68 * 17
| SixAxisSensor Single Left State
| SixAxisSensor Single Left State
|-
|-
| 0x3A80
| 0x3A80
| ?
| 0x20 header + 0x68 * 17
| SixAxisSensor Single Right State
| SixAxisSensor Single Right State
|-
|-
Line 700: Line 700:
| 0x18
| 0x18
| 0x8
| 0x8
| Total available entries, always 16
| Total available entries, up to 16
|-
|-
|}
|}
Line 716: Line 716:
|-
|-
| 0x8
| 0x8
| 0x8
| Unknown
|-
| 0x16
| 0x8
| Timestamp in samples, always the same as the first timestamp
|-
| 0x1C
| 0xC
| Accelerometer data as 3 floats
|-
| 0x24
| 0xC
| Gyroscope data as 3 floats
|-
| 0x30
| 0xC
| Unknown sensor data as 3 floats
|-
| 0x3C
| 0x24
| Orientation basis as 3x3 matrix of floats
|-
| 0x60
| 0x60
| The actual state data.
| 0x8
| Unknown, always 1
|}
|}


Official sw copies the data from offset 0x8 size 0x60 to the final output state.
Official sw copies the data from offset 0x8 size 0x60 to the final output state.