Hardware calibration: Difference between revisions

MarcusD (talk | contribs)
No edit summary
MarcusD (talk | contribs)
No edit summary
Line 97: Line 97:
!  Size
!  Size
!  Description
!  Description
|-
| 0x00
| 0x10
| [[#Touch|Touch panel]]
|-
|-
| 0x14
| 0x14
| 0x08
| 0x08
| [[#Circle_pad|Circle pad]]
| [[#Circle_pad|Circle pad]]
|-
| 0x20
| 2*
| [[#Screen_flicker|Screen flicker]]
|-
|-
| 0x30
| 0x30
Line 112: Line 120:
| 0x220
| 0x220
| 0x214
| 0x214
| [[#3D filters|3D filters]]
| [[#3D_filters|3D filters]]
|-
|-
| 0x4E0
| 0x4E0
Line 136: Line 144:
| 0x680
| 0x680
| 0x0A
| 0x0A
| CStick (Right stick)
| [[#CStick|CStick (Right stick)]]
|-
|-
| 0x690
| 0x690
Line 144: Line 152:


=Data block formats=
=Data block formats=
==Touch==
{| class="wikitable" border="1"
!  Offset
!  Description
|-
| 0x00
| s16 RawX0
|-
| 0x02
| s16 RawY0
|-
| 0x04
| s16 PointX0
|-
| 0x06
| s16 PointY0
|-
| 0x08
| s16 RawX1
|-
| 0x0A
| s16 RawY1
|-
| 0x0C
| s16 PointX1
|-
| 0x0E
| s16 PointY1
|}


==Circle pad==
==Circle pad==
Line 155: Line 193:
| 0x02
| 0x02
| s16 CenterY
| s16 CenterY
|}
==Screen flicker==
{| class="wikitable" border="1"
!  Offset
!  Description
|-
| 0
| u8 FlickerTop
|-
| 1
| u8 FlickerBottom
|-
| 2*
| Checksum low byte, NOT THIS[0]
|-
| 3*
| Checksum high byte, THIS[1]
|}
|}


Line 308: Line 364:
| 0x0C
| 0x0C
| u32 adjust[0x40]
| u32 adjust[0x40]
|}
==CStick==
{| class="wikitable" border="1"
!  Offset
!  Description
|-
| 0x00
| u8 ThinningCountX(???)
|-
| 0x01
| u8 ThinningCountY(???)
|-
| 0x02
| u16 reserved[3]
|}
|}