@katadelos: KOReader already has a fake input sink, you could *probably* plug into that with some more FAKE event codes and call it a day?
(I don't recall the breadth of the original proiect, but I kind of fail to see where orientation comes into play if we're just talking about PgNext/PgPrv?)
----
Or tackle this another way, and create a new user-space input event device, one that proxies the hardware one, plus includes the KindleLazy stuff, and just patch KOReader's devcap to point to the synthetic one and patch the event mapper to include new keycodes if need be.
Last edited by NiLuJe; 10-24-2020 at 04:17 PM.
|