Quantcast
Channel: MobileRead Forums - Kobo Developer's Corner
Viewing all articles
Browse latest Browse all 1561

user interaction while nickel is running?

$
0
0
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?

Viewing all articles
Browse latest Browse all 1561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>