/srv/irclogs.ubuntu.com/2016/12/30/#ubuntu-mir.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== JanC_ is now known as JanC
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
anpokTheKit: you should be able to do that via a udev property22:55
TheKitis it using libinput?22:56
anpokTheKit: set LIBINPUT_CALIBRATION_MATRIX to .. hmm let me check22:56
TheKitI found LIBINPUT_CALIBRATION_MATRIX example in libinput docs, but it didn't seem to work22:56
anpokyes for some time now22:56
TheKitENV{LIBINPUT_CALIBRATION_MATRIX}="0 -1 1 1 0 0" # 90 degree clockwise22:57
anpokah .. you said the scrolling is only affected?23:04
anpoknot the touch coordinates itself are wrong?23:05
TheKittouch coordinates are also wrong23:05
anpokok23:05
TheKitis there any package for libinput-debug-events?23:06
TheKitit should be provided by libinput-tools...23:10
anpokhmm there is no env var to change the log priority in libinput and we dont chanage it from the default23:14
anpokyou could check udevadm info .. but I think that might not be there by default to see that the property is really there23:15
TheKithttp://pastebin.com/y3AXG5tZ - the property is there, but it doesn't affect input (tried different rotations)23:24
TheKitI'm using vivid rootfs, can something older be used there?23:25
anpokhm most of ubuntu-touch is pulled out of the stable phone overlay ppa23:25
TheKitby the way, if I use use evtest to check events, top-left is 0, 0 and bottom-right is about 1079,1919, so no rotation should be needed in theory23:27
anpokTheKit: then that should be what we pass on to unity823:29
anpokTheKit: I mean we dont apply any rotation within the mirserver instance inside unity-system-compositor23:29
anpoksimilarly nothing happens inside the mirserver instance of unity8 which receives the input events..23:30
anpokon some devices unity8 rotates the screen - and thus also rotates the coordinates..23:30
anpokbecause mir does not yet provide an animated orientation transition... unity8 does that internally23:31
anpokso there is a chance that the graphics output and input handling in u8 make conflicing decisions23:32
TheKitPossibly. If put device landscape, screen gets rotated, but touch screen is rotated with it as it should be, and so is still wrong23:35
TheKit*if I put23:35

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!