Input-Handling
Curt Cox
curtcox at gmail.com
Mon Mar 7 18:05:56 PST 2011
Count me among those that are eager to learn more and get my hands on
something I can play with. One of my first thoughts was using this to
deploy Swing apps to the iPad.
- Curt
On Mon, Mar 7, 2011 at 9:26 AM, Clemens Eisserer <linuxhippy at gmail.com>wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/caciocavallo-dev/attachments/20110307/cded3146/attachment.html
More information about the caciocavallo-dev
mailing list