Open Faham opened 9 years ago
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Agreed.
I don't know where this information is being reported. It may be a computation based on the two accelerators, but the other one is non-standard so processing it would be a pain.
I did find out that the all-the-way-open determination is done using the magnetic sensor, just like the all-the-way-shut is done. (I found this out by putting two yogas on top of each other.) However, I also don't know how that is reported.
peter
On 05/12/2015 07:03 PM, Faham Negini wrote:
Everything is great about the rotation the only thing missing is detecting whether the screen degree has passed 180 to disable keyboard and touchpad and going to the tablet mode.
— Reply to this email directly or view it on GitHub https://github.com/pfps/yoga-laptop/issues/38.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iQEcBAEBCAAGBQJVUrXpAAoJECjN6+QThfjzuDoH/0QuEH4oM58aL4mhKM43wsJK eIXXWErbF7HQ8Mew+I9UNSzUWHG1FDhmjwIweusiRS7qs33UxB7nv7Kc1+IBy5qP g8xXyktAl0NjYL2JDL7SptuNV2gmoUeonKsAi+y6RI8AJ4QeF1+xBEnibeWxjIsP 2+9NppuB467nkGAggDL3GmFn+ys8sNa9SBJu/w798dAgNH2OQ/AX43pLWg/vlqrc gzHHpm3e8dfqE74GRHNLXd+50BlKQ+bLnbqnfSelVrdQLpwyu5/qiOqGS5Mha01P UN51S7sZzlM/0KT4EXIwIL9NqBHyOP8RuDfxZMO2ZGDFbMEvQ+djkO81egvJQNU= =Mlcv -----END PGP SIGNATURE-----
As an interim, could we have a flag that disables the touchpad and keyboard if the screen is rotated 90,180 or 270? That said I have attached /bin/orientation --count=1 to the rotate button on the side (SUPER+Y), which I would still like to function. :-) Or maybe a flag that runs a script with rotation. Anyway, just some ideas. Thanks for the work thus far :-)
That's not on my plans for implementation, but feel free to code it up yourself and submit it as a patch.
peter
On 10/10/2015 08:11 PM, Richard Warburton wrote:
As an interim, could we have a flag that disables the touchpad and keyboard if the screen is rotated 90,180 or 270? That said I have attached /bin/orientation --count=1 to the rotate button on the side (SUPER+Y), which I would still like to function. :-) Or maybe a flag that runs a script with rotation. Anyway, just some ideas. Thanks for the work thus far :-)
— Reply to this email directly or view it on GitHub https://github.com/pfps/yoga-laptop/issues/38#issuecomment-147149841.
Everything is great about the rotation the only thing missing is detecting whether the screen degree has passed 180 to disable keyboard and touchpad and going to the tablet mode.