koreader touch input doesn't work (stylus input is fine)
Witos opened this issue · 13 comments
After setting up koreader on remarkable2, I have a problem with a touch input. It doesn't work. Operating using stylus works without any problems, but the touching using fingers does not. Is it a issue of the current remarkable2-framebuffer set-up or the koreader itself?
it's a problem in koreader, not rm2fb
isn't the x axis also inverted? or is that fix in master?
I built latest koreader master and tested. The problem remains. Maybe my set-up is wrong:
LD_PRELOAD=/home/root/fb/librm2fb_server.so /usr/bin/remarkable-shutdown &
LD_PRELOAD=/home/root/fb/librm2fb_client.so ./koreader.sh
?
Maybe this xochitl is still taking over a touch events in the background?
@Witos
here are the changes that needed for koreader:
(and the latest frontend/device/gesturerecognizer.lua)
I compiled the repo, patch didn't help with touch input, but maybe I do sth wrong...
i added a minor fix, you can get the latest version, same repo. i am ashamed to admit, but i can't compile koreader at the moment.
Damn it, I missed that you didn't commit your patch on master but on rm2, will try again. Maybe I can help with compilation somehow?
Generally, I'm interested in koreader / remarkable development,I know some stuff, I've been Linux embedded dev for few years..
#Good news: touch works, at least at basic level.
#Bad news: the screen is not refreshed properly. I had some minor issues in the previous koreader version but I fixed it turning "night mode" on and off. This time it doesn't help.I suspect it might be regression in koreader, I'll check vanilla version over the weekend. I'm using rm2-fb today checkout, and rm2 branch of koreader.
Good news: I rebooted the devices, set-up everything once again. It works like a charm. Will test it for the few days.
you can try the latest: lib2rmfb_server, should have refresh etc