Pre Touchscreen

From WebOS Internals
Jump to navigation Jump to search

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>