Re: [AD] X11 keyboard driver missing key up events |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Wed, 2011-03-02 at 17:21 -0600, Trent Gamblin wrote:
> With the attached test program, if I hold space and move the arrows left
> and right a bit, then release keys, the left and/or right arrow KEY_UP
> events never come. Here's the output I get (notice the missing UP: 83):
Does the same happen in ex_keyboard_events?
If not, try using a while() instead of an if() in your example - there
can be more than 100 events per second and depending on your kernel
rest() may wait even longer therefore your example may be limited to
much less than 100 events per second.
If that doesn't help and ex_keyboard_events has the same problem, maybe
you can compare with or paste the output of xev for pressing the same
keys. Does that also show the problem?
--
Elias Pschernig <elias.pschernig@xxxxxxxxxx>