Input-Handling
Clemens Eisserer
linuxhippy at gmail.com
Mon Mar 7 07:26:44 PST 2011
Hi Mario,
> Mmmm...
>
> You could create different instances of the Screen, although we never
> really did this, so I'm not sure it work out of the box (but I don't see
> why it shouldn't to be honest).
Didn't realize Cacio was so well-suited for multi-screen environments,
I now simply create seperate screens and GraphicsConfigurations. Works
really well, even when rendering is triggered by non-input threads :)
> Wowowow!
> This is so cool! ;)
> We would love to merge those changes in if possible.
Glad you like it - however many features are still missing, I'll have
to do some clean-up before I'll release it in the wild.
> Maybe the SDL backend is really limited, I think we don't dispatch
> events at all, other than a very small subset fo them (long time I wrote
> this). I believe there's an X11 one that is a little more complete, this
> was our first example and we showcased it at J1 two years ago.
I got mouse-events mostly working (same state as the SDL backend),
however key-events remain a mystery.
Even the X11 backend doesn't seem to implement key-events.
Is there some support in Cacio for synthetisizing events?
I read a few comments about it, but didn't find code doing it.
>From the canvas I only get button_pressed/released - when I
sythetisize the clicked myself I suddenly can click buttons and
checkboxes. However keeping double-clicking etc in mind, I fear this
will be quite tiresome.
Thanks, Clemens
More information about the caciocavallo-dev
mailing list