View Single Post
Old 09-08-2020, 12:19 PM   #39
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,

First of all thanks for sharing your work.

I'm not an expert in embedded device but I have managed to build the code thanks to the very detailed guide from the github repo to try for my kobo libra h2o

Hardware buttons are managed (so I can do an exit with the power button for the moment) but even if I tried the rotate/invert options touch screen are not well processed.

I have activated qpa logging for events in the shell script with the following exports :
export QT_LOGGING_DEBUG=1
export QT_QPA_EVDEV_DEBUG=1
export QT_LOGGING_RULES="qt.qpa.input*=true"

In the log file the touch event is captured:
qt.qpa.input.events: EV_ABS code 0x3a: pressure 31; bounding to [0,0]

but I need to figure out what are the coordinates. So I will modify the qt code qevdevtouchhandler.cpp to have a better log info. I will also check how it is done in koreader koreader/frontend/device/kobo/device.lua since it seems that there are differences for handling touch (phoenix mode ?).

I will keep investigating
Thank you kiwilex, I also have a Libra H2O. If you need a tester, please let me know! Also want to get it working on this device. Thanks.
nuetron is offline   Reply With Quote