View Single Post
Old 10-16-2017, 04:02 PM   #815
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by sergeyvl12 View Post
H2O2 touch plugin cantains one hardcode:

Code:
case ABS_MT_POSITION_X:
   if ( 0 == trId )
      state.setX(1440 - in.value); // TODO: remove hardcode
   break;
and probably will work correctly only if

/sys/class/graphics/fb0/rotate = 0

I have always 0 and use -display:transformed for rotation.
Thank you, Sergey! It is nice that you visit more often now Mobileread.
For the H2O2 with /sys/class/graphics/fb0/rotate = 0, one has to use
Code:
export QWS_DISPLAY=Transformed:KoboFB:Rot270
Is this correct?

Last edited by tshering; 10-17-2017 at 01:19 PM.
tshering is offline   Reply With Quote