Quote:
Originally Posted by lazybandgeek
Well this is weird. I thought I had rotation working, but apparently not. So with the newest build on the libra 2, it's treating the left of the screen as the top. I've tried all the different rotate settings in the QPA string and it doesn't seem to rotate/recognize any of them.
I've also tried playing with the QT_QPA_GENERIC_PLUGINS and QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS values. I did see the latter actually have an effect on the inputs, where I could actually get the rotation and invert correct with parameters set to the following:
export QT_QPA_PLATFORM="kobo:logicaldpitarget=108"
export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS="/dev/input/event1:rotate=90:invertx=1"
export QT_QPA_GENERIC_PLUGINS="evdevtouch:/dev/input/event1"
the problem with these seemed to be that it wasn't always consistent, in that it was triggering extra inputs from locations closer to say the middle of the screen/selecting to open something. Looks almost like it's an every other type of thing, maybe two different "event#" things happening where one is rotated correctly now and the other isn't? But event1 is the only one I can seem to set of my various options (0-3, and mouse0) that actually gets it right some of the time.
At least if I can get to a book, I can read it and just use the buttons for navigation.
The other fun one is that when I have the above so it's mostly working, it looks like starting nickel back up after closing the app is causing a crash to where I have to put the kobotoot.tgz back in and reload nickel. So who knows there.
That's enough for tonight, I need some sleep before work tomorrow.
|
This solution actually broke my nickle installation (went through it twice to make sure this is what did it) so don't put these configuration options in. Can confirm that the Libra 2 rotation is currently not working though, only the x invert parameter is having an effect. Screen is rotated such that its top is on the left side of the screen, and x invert switches the left to the bottom instead.