llandsmeer / inkvt

Experimental VT100 terminal emulator for Kobo e-readers
GNU General Public License v3.0
39 stars 5 forks source link

Attempt to handle touch translation properly on Kobo #14

Closed NiLuJe closed 3 years ago

NiLuJe commented 3 years ago

As discussed on Gitter, here be dragons...

This works on my H2O & Forma, but may very well do stupid things elsewhere.

If you find a device where it's broken, I'm going to need the results of the devcap bundle from FBInk ;).

Also computes the OSK based on the viewport's size, not the screen's, which prevents pushing it offscreen on devices with a viewport (e.g., the H2O). The FBInk bump is required because of the new API to handle native<->canonical rotation conversions, and to fix said viewport handling on non-canonical-UR rotations ;).

NiLuJe commented 3 years ago

(I left out the EVIOCGRAB in the Kobo ifdef in input.hpp, since it was disabled before).