Index:
[thread]
[date]
[subject]
[author]
From: teunis <teunis@computersupportcentre.com>
To : andreas.beck@ggi-project.org
Date: Sat, 19 Sep 1998 12:09:01 -0700 (MST)
Re: Gii integration (was shmem integration)
On Sat, 19 Sep 1998 becka@rz.uni-duesseldorf.de wrote:
> Hi folks !
>
> > So - is it possible to control how memvisual handles keyboard/mouse/etc?
> > as in - if some environment value is set (or a parameter), read from a
> > pipe (of some kind) or set of pipes [keyboard, mouse, ...]
>
> No. You bring up a very valid point here. We didn't do much about input
> handling, and I think there is room for improvement, and we should do it
> now (it's easy) to avoid bringing something out that brings back trouble
> later.
>
> The idea is the following :
>
> Have a gii_input_t that describes _all_ attached input systems.
> This is done by making it a linked list, what allows to attach/detach
> event sources as required.
Hmm. I don't see any problems (personally :) but I'd love to see an
interrupt-hook type system...
ie:
GIIsetCallback(-intput system-, -callback function-)
and have -callback function- be called on receiving events...
I suspect this kind of system is only really duable with threads
though.... *le really deep sigh*
(this is one of the main reasons I tend to work with multithreaded code -
I like this way of handling things and it's more useful with, say,
realtime data)
G'day, eh? :)
- Teunis
Index:
[thread]
[date]
[subject]
[author]