user interaction while nickel is running?
While reading a book with nickel, I'd like to do something akin of displaying a Yes/No popup dialog box, and allow the user to interact with it.
The problem is, nickel will process those touch events and flip pages or do other random things.
Is there a way to make nickel ignore touch events temporarily, so you can go seamlessly from reading to an interactive popup and back to reading?
My attempts so far were unsuccessful:
- (un-)binding the touchscreen driver disables touch, but for nickel it does so permanently; have to re-start nickel entirely to make touch work again.
- freezing nickel (kill SIGSTOP) allows user interaction just fine, but when you unfreeze nickel (kill SIGCONT), it will still process all touch events that happened while frozen
Any ideas?
|