README: add note about the sensor orientation

The coordinates are provided from the top-left position, but the sensor
is effectively turned. So on the Spark and the Slate, X goes down, and
Y is reversed and goes left.
pull/14/head
Benjamin Tissoires 2018-01-19 17:55:48 +01:00 committed by Peter Hutterer
parent f6d09d7086
commit 36b9b1cbb7
1 changed files with 4 additions and 2 deletions

View File

@ -19,8 +19,10 @@ Devices tested and known to be supported:
Units used by this interface
----------------------------
* Physical distances for x/y axes are in µm from the sensor's top-right
position.
* Physical distances for x/y axes are in µm from the sensor's top-left
position. (Note that on the Spark and on the Slate at least, the sensor
is turned 90 degrees clockwise, so (0,0) is at the 'natural' top-right
corner)
* Stylus pressure is normalized to a range of [0, 0xffff], inclusive.
* Timestamps are in seconds in unix epoch, time offsets are in ms after the
most recent timestamp.