Quote:
Originally Posted by MarekGibek
Here is the kernel changeset needed for touch rotation:
https://github.com/marek-g/kobo-kern...b314d3dcedfef3
It is not enough to replace the kernel. You have to set ro.sw.hwrotation to "0" (in init.rc / ramdisk). Otherwise it won't work.
Now I can send events to kernel to change touch rotation (I'm using adb shell):
Code:
sendevent /dev/input/event2 17 1 0 -> portrait
sendevent /dev/input/event2 17 1 1 -> landscape
sendevent /dev/input/event2 17 1 2 -> portrait (reversed)
sendevent /dev/input/event2 17 1 3 -> landscape (reversed)
We only need an Android app that will do it automatically.
|
You are the best. I'll try it. Thanks a million.