Joy-Con Firmware: Difference between revisions
No edit summary |
No edit summary |
||
Line 40: | Line 40: | ||
| 0x1B || B || 0x01 || FormatVersion | | 0x1B || B || 0x01 || FormatVersion | ||
|- | |- | ||
| 0x20 || B || 0x18 || Cal1 | | 0x20 || B || 0x18 || [[#Cal1|Cal1]] | ||
|- | |- | ||
| 0x3D || B || | | 0x3D || B || 0x12 || [[#Cal2|Cal2]] | ||
|- | |- | ||
| | | 0x4F || B || 0x01 || Reserved | ||
|- | |- | ||
| | | 0x50 || B || 0x0D || [[#Design|Design]] | ||
|- | |- | ||
| 0x98 || B || 0x12 || Model2 | | 0x80 || B || 0x18 || [[#Model1|Model1]] | ||
|- | |||
| 0x98 || B || 0x12 || [[#Model2|Model2]] | |||
|} | |} | ||
Line 88: | Line 90: | ||
|} | |} | ||
=== | === Cal1 === | ||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x00 || 0x18 || SixAxisSensorCalibrationValue | |||
|} | |||
=== Cal2 === | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x00 || 0x09 || LeftAnalogStickCalibrationValue | |||
|- | |||
| 0x09 || 0x09 || RightAnalogStickCalibrationValue | |||
|} | |||
=== Design === | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 127: | Line 151: | ||
|- | |- | ||
| 0x02 || LuciaU, LagerU | | 0x02 || LuciaU, LagerU | ||
|} | |||
=== Model1 === | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x00 || 0x06 || SensorData | |||
|- | |||
| 0x06 || 0x12 || AnalogStickModuleParam | |||
|} | |||
=== Model2 === | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x00 || 0x12 || AnalogStickModuleParam | |||
|} | |} | ||
Line 137: | Line 183: | ||
! Description | ! Description | ||
|- | |- | ||
| 0x10 || B || | | 0x10 || B || 0x18 || UserCal1 | ||
|- | |- | ||
| | | 0x28 || B || 0x18 || UserCal2 | ||
|} | |||
=== UserCal1 === | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x00 || 0x02 || UserCalMagicNumber | |||
|- | |||
| 0x02 || 0x09 || LeftAnalogStickCalibrationValue | |||
|- | |||
| 0x0B || 0x02 || UserCalMagicNumber | |||
|- | |||
| 0x0D || 0x09 || RightAnalogStickCalibrationValue | |||
|- | |||
| 0x16 || 0x02 || UserCalMagicNumber | |||
|} | |||
=== UserCal2 === | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |- | ||
| | | 0x00 || 0x18 || SixAxisSensorCalibrationValue | ||
|} | |} | ||