brltty/brltty — pull request #27 by mlang (2014-09-13 18:16:06+00:00)
Title: Delegate acknowledgement handling to the core.

This is my attempt of switching the HandyTech driver to using writeBrailleMessage()
and friends. I am running that code right now, so it is tested.

From a log, I somehow suspect that messages do get reordered, not only overridden.
Is that possible? I saw a toggle command enqueued, and then write braille requests.
But somehow, the write braille requests kept going, while the toggle command was
somehow delayed. Do we check if the queue contains items, before adding to the
front? In other words, it felt rather FILO, rather than FIFO.