Rain92 / UltimateMangaReader

A feature-rich online manga reader for Kobo E-Ink devices based on Qt5.
GNU Affero General Public License v3.0
176 stars 24 forks source link

I still have the issue of the touchscreen being flipped on my Kobo Clara HD #51

Open tamzidr opened 2 years ago

tamzidr commented 2 years ago

I checked the update logs and it should be patched, but you may want to check that again. Many thanks!

Woolton commented 2 years ago

I'm also facing this issue, there are no orientation options in app.

thiskappaisgrey commented 2 years ago

Ok, so I figured out how to fix. Edit the file in .adds/UltimateMangaReader/UltimateMangaReader.sh . On line 11 of that file, it should say:

export QT_QPA_PLATFORM=kobo:touchscreen_rotate=auto:touchscreen_invert_x=auto:touchscreen_invert    _y=auto:logicaldpitarget=108

Change that to:

export QT_QPA_PLATFORM=kobo:touchscreen_rotate=90:touchscreen_invert_x=auto:touchscreen_invert    _y=auto:logicaldpitarget=108

and it should work(at least it worked for me, so far). Essentially I am changing touchscreen_rotate to 90 in the startup file. If it doesn't work or if have this issue on another device, you'd have to experiment with different rotate and invert values unfortunately. It took a bit of trial and error to find the right values.

Woolton commented 2 years ago

I'm using a Kobo Libra 2. For me the issue is the screen being flipped also, I've tried replacing touchscreen_invert_xs value with 1 and touchscreen_invert_ys value with 0, though this may have caused the program to hang up

Woolton commented 2 years ago

Okay, the line of code that worked for me is export QT_QPA_PLATFORM=kobo:touchscreen_rotate=90:touchscreen_invert_x=0:touchscreen_invert_y=1:logicaldpitarget=108

uberrice commented 2 years ago

Kobo Forma, the touchscreen_rotate=90 worked.