View Single Post
Old 08-07-2020, 12:32 AM   #8
tylpk
Enthusiast
tylpk has learned how to buy an e-book online
 
Posts: 25
Karma: 80
Join Date: Apr 2019
Device: Kindle Paperwhite3, Hisense A5, HyRead Gaze Pocket, Kobo Elipsa
Quote:
Originally Posted by sherman View Post
Neat little idea. As it stands though, it probably isn't going to work properly on many Kobo's however. Mainly because of the touch events.

Different devices have different touch "protocols" (basically, sequence of events). So, ideally you need to account for that.

If that isn't annoying enough, touchscreen orientation in relation to the framebuffer differs on a device basis.

And then what happens when the user has a Forma or Libra, and reads in landscape...
Thanks for your suggestion. The touch event is a big problem. Actually, I spent a lot of days to solve the XY of event.

I have a config file named "koboserver.cfg". It can be adjusted for some settings.

eventFile=/dev/input/event1
leftX=800
leftY=500
rightX=100
rightY=500

However, I can not handle orientation now.

I also spent a lot of days to keep Wi-Fi on. It is a big problem too. Even I adjusted "ForceWiFiOn" in my code dynami, The Wi-Fi's behavior is still not stable.
tylpk is offline   Reply With Quote