mirror of https://github.com/tuhiproject/tuhi.git
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
parent
f6d09d7086
commit
36b9b1cbb7
|
@ -19,8 +19,10 @@ Devices tested and known to be supported:
|
||||||
Units used by this interface
|
Units used by this interface
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
* Physical distances for x/y axes are in µm from the sensor's top-right
|
* Physical distances for x/y axes are in µm from the sensor's top-left
|
||||||
position.
|
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.
|
* 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
|
* Timestamps are in seconds in unix epoch, time offsets are in ms after the
|
||||||
most recent timestamp.
|
most recent timestamp.
|
||||||
|
|
Loading…
Reference in New Issue