Hi all. I read the LibGII code, and I came up with the following remarks:
I think it might be an interesting to add a MIDI event type, since it is a widely used standard. I looked at alsa and noticed that the MIDI event structure was much smaller than the current gii_event (Which I found surprisingly big by the way). I noticed that a multiplexed input is not a tree, as I first thought, but a circular list of 'atomic' input sources, and no real distinction is made between an input source and a filter. If I have two mice: a ps/2 and serial, I can't use the mouse-filter with only one of them cos the filter can't distinguish between them. For the same reason, I can't filter an event source out of the tcp repeater, except by rewriting these filters. Would it be really insane to consider a mechanism by which, for each (input|filter), a list of applyable filters is kept? This would allow to construct highly flexible 'pseudo-hierarchical' input queues. Eric.
