Difference between revisions of "Pre Touchscreen"
Jump to navigation
Jump to search
(New page: ==Intro== This is a research page on the pre touchscreen -- how to examine what it does, how it works, etc. ==Screen format== The screen is devided in 70 (7x10) fields + 7 fields for the...) |
(Change style and add minor informations to ts_frame struct) |
||
Line 9: | Line 9: | ||
The dataset has 167 byte and is structured like the following struct: | The dataset has 167 byte and is structured like the following struct: | ||
− | { | + | |
− | uint16_t | + | <source lang="c"> |
+ | struct ts_frame { | ||
+ | uint16_t frame_start; // constant: | ||
uint16_t field[77]; // contains the intensity of the 7*11 fields | uint16_t field[77]; // contains the intensity of the 7*11 fields | ||
− | uint16_t | + | uint16_t frame_end; // frame end indicator; always 0xffff |
uint8_t seq_nr1; // incremented if seq_nr0 = scanrate | uint8_t seq_nr1; // incremented if seq_nr0 = scanrate | ||
uint16_t seq_nr2; // incremeted if seq_nr1 = 255 | uint16_t seq_nr2; // incremeted if seq_nr1 = 255 | ||
− | uint8_t unknown[4]; | + | uint8_t unknown[4]; // timestap? |
uint8_t seq_nr0; // incremented: from 0 to scanrate | uint8_t seq_nr0; // incremented: from 0 to scanrate | ||
− | uint8_t | + | uint8_t null_value; // \0 |
− | } | + | }; |
+ | </source> |
Latest revision as of 18:27, 30 April 2010
Intro
This is a research page on the pre touchscreen -- how to examine what it does, how it works, etc.
Screen format
The screen is devided in 70 (7x10) fields + 7 fields for the gesture area
Dataformat
The dataset has 167 byte and is structured like the following struct:
<source lang="c"> struct ts_frame {
uint16_t frame_start; // constant: uint16_t field[77]; // contains the intensity of the 7*11 fields uint16_t frame_end; // frame end indicator; always 0xffff uint8_t seq_nr1; // incremented if seq_nr0 = scanrate uint16_t seq_nr2; // incremeted if seq_nr1 = 255 uint8_t unknown[4]; // timestap? uint8_t seq_nr0; // incremented: from 0 to scanrate uint8_t null_value; // \0
}; </source>