View Single Post
Old 12-22-2020, 12:06 PM   #48
nuetron
Member
nuetron began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Aug 2020
Device: Kobo Libra H2O
Quote:
Originally Posted by kiwilex View Post
Hi OfficeAction,

Sure, I'll try to do a branch for a possible merge to the master. The best thing to do is to add an option in the QT_QPA_PLATFORM export to activate my modification. Try to send you a request in the following days, if you agree.

For those interested and give me some feedback here the qpa plugin
"https://we.tl/t-nSuoR51j1c"
Please put the libkobo.so in the directory .adds/qt-linux-5.15.0-kobo/plugins/

I also put the shell launch script in the zip file to have the correct rotation parameters.

I you want with a landscape mode please change with the following parameters

Code:
export  QT_QPA_PLATFORM=kobo:touchscreen_rotate=0:touchscreen_invert_x=0:touchscreen_invert_y=0:logicaldpitarget=300
echo 1 > /sys/class/graphics/fb0/rotate
Hope this will work for test and there will not dependency issue
Are you able to share with OP how you got the touch to work with Libra H2O using that plugin for 2.1.1? Maybe we can have your implementation implemented on the official source code. Thanks!
nuetron is offline   Reply With Quote