Thanks, it was very useful: I didn't realize that both of my test devices were using what koreader refers to as the phoenix touch protocol. And according to koreader/frontend/device/kobo/device.lua, most of the devices are using this protocol.
I've added support for the old protocol in the version attached in the original post. But there might be another problem specific to the Touch: most of the devices have the x and y axes swapped, but koreader sets touch_switch_xy to false by default for the Touch.
Maybe there's a way to tell if a device has the x and y axes swapped based on its PCB?
|