@Michal Jancik:
Okay! Testing time ;p.
* First, revert all your changes.
* Then, unzip the fbdepth binary from the attached package, and replace your old one (in .adds/koreader/fbdepth) with it.
* Restart KOReader.
* I expect/hope that touch input will *still* be wonky, try playing with the settings in the KoboStorm table (@ .adds/koreader/frontend/device/kobo/device.lua):
I'm hoping you'll need to set both of those to false:
Code:
touch_switch_xy = false,
touch_mirrored_x = false,
(Yes, they're currently not set at all in the table, you can just add them

).
Hopefully that should do the trick.
I've also updated the binaries in
the aforementioned thread, as that series of tests should definitively answer the touch input questions

.