Rockbox mail archiveSubject: Re: peeking at the keys
Re: peeking at the keys
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Mon, 28 Jul 2003 01:26:20 +0200
TP Diffenbach wrote:
> I want to peek at the keys, without actually using up a keypress. get_button is
> written in terms of queue_wait, which advances the queue->read pointer:
> Since queue_wait is called more often, it seems better to implement _peek in terms
> of queue_wait, but I await your advice.
I think _peek() should be implemented separately, so it won't affect the
performance of _wait(). However, the primary question is: why do you
need this feature in the first place?
Received on 2003-07-28