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
|