I don't recall if an EVIOCGRAB ioctl would help ensuring you get exclusive access to the input device without the events getting queued and replayed back to nickel when you're done :/.
(Or if that even works as intended at all here, I vaguely recall having it in in FBInk at one point, and nickel happily getting my fake events anyway, so :/).
Because short of that, I don't have any bright ideas. I'd say putting nickel in a state where stray inputs would be harmless, but that's much easier said than done on a Kobo ;p.
|