=== 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 | ||
anpok | TheKit: you should be able to do that via a udev property | 22:55 |
---|---|---|
TheKit | is it using libinput? | 22:56 |
anpok | TheKit: set LIBINPUT_CALIBRATION_MATRIX to .. hmm let me check | 22:56 |
TheKit | I found LIBINPUT_CALIBRATION_MATRIX example in libinput docs, but it didn't seem to work | 22:56 |
anpok | yes for some time now | 22:56 |
TheKit | ENV{LIBINPUT_CALIBRATION_MATRIX}="0 -1 1 1 0 0" # 90 degree clockwise | 22:57 |
anpok | ah .. you said the scrolling is only affected? | 23:04 |
anpok | not the touch coordinates itself are wrong? | 23:05 |
TheKit | touch coordinates are also wrong | 23:05 |
anpok | ok | 23:05 |
TheKit | is there any package for libinput-debug-events? | 23:06 |
TheKit | it should be provided by libinput-tools... | 23:10 |
anpok | hmm there is no env var to change the log priority in libinput and we dont chanage it from the default | 23:14 |
anpok | you could check udevadm info .. but I think that might not be there by default to see that the property is really there | 23:15 |
TheKit | http://pastebin.com/y3AXG5tZ - the property is there, but it doesn't affect input (tried different rotations) | 23:24 |
TheKit | I'm using vivid rootfs, can something older be used there? | 23:25 |
anpok | hm most of ubuntu-touch is pulled out of the stable phone overlay ppa | 23:25 |
TheKit | by 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 theory | 23:27 |
anpok | TheKit: then that should be what we pass on to unity8 | 23:29 |
anpok | TheKit: I mean we dont apply any rotation within the mirserver instance inside unity-system-compositor | 23:29 |
anpok | similarly nothing happens inside the mirserver instance of unity8 which receives the input events.. | 23:30 |
anpok | on some devices unity8 rotates the screen - and thus also rotates the coordinates.. | 23:30 |
anpok | because mir does not yet provide an animated orientation transition... unity8 does that internally | 23:31 |
anpok | so there is a chance that the graphics output and input handling in u8 make conflicing decisions | 23:32 |
TheKit | Possibly. If put device landscape, screen gets rotated, but touch screen is rotated with it as it should be, and so is still wrong | 23:35 |
TheKit | *if I put | 23:35 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!