Re: at_keyboard and checkkey()

2009-09-24 Thread Robert Millan
I opted for committing a smaller fix. It's not completely satisfactory, but it's less intrusive and hence more suitable for the 1.97 release. After 1.97 is out, this will probably need some restructuring (e.g. implementing queues and/or an interrupt handler). -- Robert Millan The DRM opt-in

at_keyboard and checkkey()

2009-09-21 Thread Robert Millan
Hi, at_keyboard's checkkey() implementation is buggy. It will flush the controller's input buffer, but checkkey()'s semantics require that it's not flushed. This results in some keys being lost when using at_keyboard. A proper fix that adjusts to this API is complicated. I implemented one [1]