*** norayr has quit IRC | 00:43 | |
*** norayr has joined #maemo | 01:05 | |
*** florian has quit IRC | 01:50 | |
*** ced117 has joined #maemo | 02:03 | |
*** phlixi_ has joined #maemo | 02:07 | |
*** phlixi has quit IRC | 02:09 | |
*** norayr has quit IRC | 04:28 | |
*** tm has quit IRC | 05:34 | |
*** tm has joined #maemo | 05:37 | |
*** phlixi_ has quit IRC | 06:42 | |
*** phlixi has joined #maemo | 06:42 | |
*** bencoh has quit IRC | 06:43 | |
*** ced117 has quit IRC | 06:43 | |
*** ced117 has joined #maemo | 06:46 | |
*** geaaru has quit IRC | 06:48 | |
*** bencoh has joined #maemo | 06:51 | |
*** infobot has quit IRC | 06:56 | |
*** infobot has joined #maemo | 06:58 | |
*** ChanServ sets mode: +v infobot | 06:58 | |
*** geaaru has joined #maemo | 07:03 | |
*** luke-jr has quit IRC | 07:15 | |
*** luke-jr has joined #maemo | 07:16 | |
*** norayr has joined #maemo | 07:42 | |
*** DocScrutinizer05 has quit IRC | 08:00 | |
*** DocScrutinizer05 has joined #maemo | 08:00 | |
*** infobot has quit IRC | 09:16 | |
*** Kilroo has quit IRC | 09:32 | |
*** r00t|home has quit IRC | 09:47 | |
*** r00t|home has joined #maemo | 09:47 | |
*** drathir_tor has quit IRC | 09:48 | |
*** infobot has joined #maemo | 10:16 | |
*** ChanServ sets mode: +v infobot | 10:16 | |
*** drathir_tor has joined #maemo | 10:27 | |
*** norayr has quit IRC | 10:28 | |
*** Oksana has joined #maemo | 10:42 | |
*** norayr has joined #maemo | 10:51 | |
*** Oksana has quit IRC | 11:04 | |
*** norayr has quit IRC | 11:12 | |
*** norayr has joined #maemo | 11:19 | |
*** norayr has quit IRC | 11:49 | |
*** florian has joined #maemo | 12:09 | |
Wizzup | Does anyone know how fremantle rotates its input device (touchscreen) when the device orientation changes? | 12:25 |
---|---|---|
*** florian has quit IRC | 12:34 | |
*** norayr has joined #maemo | 13:30 | |
Maxdamantus | Wizzup: my guess would be using randr. | 13:30 |
Maxdamantus | Wizzup: `xrandr --output LCD --rotate right` seems to work for me. | 13:30 |
Wizzup | Maxdamantus: right, but what component does that? | 13:30 |
Maxdamantus | Oh, hildon-desktop iirc | 13:30 |
Wizzup | That rotates the screen, I don't think that rotates input | 13:30 |
Wizzup | That is usually done via xinput | 13:30 |
Maxdamantus | The input seems to be rotated when I do that too. | 13:31 |
Wizzup | yes, but this is not 'normal' on Linux | 13:31 |
Maxdamantus | (I've disabled the rotation functionality in hildon-desktop) | 13:31 |
Maxdamantus | What do you mean? xrandr is how I've always rotated screens in Linux. | 13:32 |
Wizzup | yes, but it won't rotate your input devices for you, at least not touch screens | 13:32 |
Maxdamantus | haven't really used any other devices with touchscreens, but I would expect Xorg will know to transform the touchscreen inputs appropriately. | 13:32 |
*** norayr is now known as inky | 13:32 | |
Wizzup | It doesn't, I can assure you | 13:33 |
Wizzup | that's why stuff like this exists https://gist.github.com/mildmojo/48e9025070a2ba40795c | 13:33 |
Wizzup | Maybe they patched X to do that or something, but it doesn't work like this on X in that last 10 years | 13:36 |
Wizzup | (I've dealt with lots of touchscreen devices, and they're separate entities from the screen, and there is not necessarily a way to tell X that they belong together | 13:36 |
Wizzup | So usually they have to be rotated separately | 13:36 |
* Wizzup back later | 13:37 | |
*** bencoh has quit IRC | 13:55 | |
*** bencoh has joined #maemo | 13:55 | |
*** Oksana has joined #maemo | 13:59 | |
*** phlixi has quit IRC | 14:29 | |
*** phlixi has joined #maemo | 14:30 | |
*** inky is now known as inky^off | 14:30 | |
*** inky^off is now known as _inky | 14:31 | |
sixwheeledbeast | The way I remember it all windows have an extra flag that permits rotation and the whole window is redrawn by hildon. It's not a rotation as such everything is flexible and just redrawn. There wasn't much to enable it from the CSSU guys back in the day, Nokia had purposely not made it a thing as not everything would be able to play nice. | 14:41 |
Wizzup | sixwheeledbeast: right, that is for windows, but not the input layer | 14:46 |
Wizzup | I know how that works, but that's not what I mean | 14:46 |
Wizzup | basically, if you take any modern linux, and a device with a touchscreen, if you rotate the screen with xrandr, the touch device won't follow implicitly | 14:47 |
Wizzup | so all input will be wrong until you make the touch input device match the screen | 14:47 |
Wizzup | (this is what 'xinput map-to-output' does) | 14:47 |
sixwheeledbeast | i don't really understand it in depth it's just what I recall. if the window is just redrawn instead of "rotated" then why does input layer matter? to the touchscreen nothing is different? | 14:51 |
Wizzup | the window isn't drawn rotated, the screen is rotated | 14:52 |
Wizzup | and the window properties do not relate here: they just tell hildon is it needs to force a certain screen rotation | 14:53 |
Wizzup | (I know, because I just finished porting them to leste qt 5) | 14:53 |
*** _inky has quit IRC | 15:02 | |
*** inky has joined #maemo | 15:02 | |
*** phlixi has quit IRC | 15:10 | |
sixwheeledbeast | oh not sure then | 15:12 |
sixwheeledbeast | Maybe something in the xserver-xomap metapackage has some answers? that was a package modified by the community for rotation support | 15:16 |
*** infobot has quit IRC | 16:29 | |
*** inky has quit IRC | 16:59 | |
*** inky has joined #maemo | 17:04 | |
*** infobot has joined #maemo | 17:28 | |
*** ChanServ sets mode: +v infobot | 17:28 | |
*** phlixi has joined #maemo | 18:01 | |
*** inky has quit IRC | 18:34 | |
*** florian has joined #maemo | 19:58 | |
*** florian has quit IRC | 20:34 | |
*** jskarvad has joined #maemo | 20:55 | |
*** jskarvad_ has joined #maemo | 20:58 | |
*** jskarvad has quit IRC | 21:02 | |
*** florian has joined #maemo | 21:45 | |
*** florian has quit IRC | 21:53 | |
*** florian has joined #maemo | 22:13 | |
*** jskarvad_ has quit IRC | 22:30 | |
*** infobot has quit IRC | 23:38 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!