View Single Post
Old 10-29-2018, 05:52 AM   #236
baskerville
Evangelist
baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.
 
baskerville's Avatar
 
Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
Regarding the touch coordinates transformation, the mapping is the following for most devices:

Code:
0 → Identity
1 → Sxy My
2 → Mx My
3 → Sxy Mx
Where S means swap and M means mirror.

The mapping for the Aura H₂O Edition 2 Version 1 is:
Code:
0 → Mx
1 → Sxy
2 → My
3 → Sxy Mx My
The swapping pattern is identical and the mirroring pattern is shifted downward. Hence the only device specific information needed to compute the transformation given the rotation is the center of the mirroring pattern.

Last edited by baskerville; 12-02-2019 at 04:28 PM.
baskerville is offline   Reply With Quote