Changes

567 bytes added ,  19:32, 16 August 2013
Line 57: Line 57:     
=Offset 0xC0=
 
=Offset 0xC0=
 +
This 0x48-byte region stores entries for touch-screen position info. Each entry is 0x8-bytes, there's a total of 9 entries. Normally the last 8 entries contain the same data. When the touch-screen is not being touched, this region is all-zero.
 +
 +
The last 8 entries contain the pixel coordinates, while the first entry seems to contain the raw coordinate data prior to being converted to pixel coordinates.
 +
 +
==Entry format==
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
 
!  Relative offset
 
!  Relative offset
 +
!  Size
 
!  Description
 
!  Description
 
|-
 
|-
 
| 0x0
 
| 0x0
| This 0x48-byte region stores touch-screen position info.
+
| 0x2
 +
| X coordinate.
 +
|-
 +
|-
 +
| 0x2
 +
| 0x2
 +
| Y coordinate.
 +
|-
 +
|-
 +
| 0x4
 +
| 0x4
 +
| This is 0x0 when this entry doesn't contain any actual data, value 0x1 indicates that this entry contains actual data.
 
|}
 
|}