Quote:
Originally Posted by j.p.s
Here is what I was able to figure out in 2018, but from wanting to turn page parspective:
https://www.mobileread.com/forums/sh...d.php?t=294071
Basically it involved changing /dev/input/event5 so detecting a page turn would involve detecting particular changes in /dev/input/event5
|
Thanks, J.P.S
I read the thread,maybe I did not descript it clearly
My idea is: 1. user press the physical button > 2. trigger kindle gpio-key event > 3. in my app capture the gpio-key event > 4. execute page-up or page-down inside of my tk UI app (not execute page-up or page-down for kindle book UI).
when user press the physical button, kindle system automatically trigger a gpio-key event in global, this event is made by kindle system, nothing I can change, currently I stuck on step 3, my python script is unable to capture the gpio-key event, the step 4 to exec page-down is relatively easy in python Tk: tk.xxx_widget.event_generate('<Next>')