Quartz Builder Mouse/Multitouch Events Forwarding/Window Events

In Leopard, I used to do activities like tie mouse outputs to window x/y position, using the Quartz Builder template, and have windows follow the mouse, usually with some smoothing, or something.

I've tried to do this in Snow Leopard, and it just doesn't work. I also tried it with Multitouch, and events still don't forward. Further, I tried hooking up the outputs of mouse/multitouch to a "dud" Billboard, just to make sure they would evaluate. None of this makes it work.

Objects "inside of a qtz" that may be hooked up to mouse also stop tracking when window focus is broken, but I'll file that in a separate report when I'm sure about it (though I'm pretty darn sure). I used to make "floating" apps, or desktop apps that did this. (re:hairball.qtz attachment)

Also, I seem to be having problems with things going Fullscreen. I'm attaching a composition that uses multitouch (which forwards successfully), and SEEMS like it should go fullscreen (nothing fancy with interaction, it's just set on Fullscreen to true).

So, it seems like QuartzBuilder is now limited to opening at a specific width/height, and that if using mouse, the window always has to be in focus to move objects in the qtz. It also seems like all fancy window resize/translate with mouse stuff isn't working.

dust's picture
Re: Quartz Builder Mouse/Multitouch Events Forwarding/Window ...

I noticed this as well when sl frost came out. I bielive there is a thread in these regards, which Chris said that event forwarding is handled differently in SL. a work around I found is is to transmit your coordinates via tuio or osc. there is a tuio patch for your trackpad that will transmit mouse coordinates no matter what is in focus.

gtoledo3's picture
Re: Quartz Builder Mouse/Multitouch Events Forwarding/Window ...

Yeah, I think I may have actually been the first one to report it (!), but for some reason, I had thought it had been fixed to some extent. It's odd to me that multitouch actually does continue to transmit events no matter focus, to the composition, but it doesn't to the window stuff.

So, tuio, or osc huh? Hmm, that's ugly. I'll definitely try it though.

Edit...tried it. Not working. I can kind of see the window trying to do something though. I'm trying to get the actual window to move; this used to work fine. Second, I'm interested in mouse updating objects in a scene, but it seems that multitouch does that ok.

I think the fullscreen thing may be user error on my part... I have to look at that more, I don't remember fullscreen being broken.

PreviewAttachmentSize
QB OSC TEST.qtz51.12 KB
QB OSC TEST.app_.zip178.04 KB

gtoledo3's picture
Re: Quartz Builder Mouse/Multitouch Events Forwarding/Window ...

Ok, the fullscreen thing was my building on top of a faulty template; my bad.

This is a fun fullscreen thing I ended up making as a double check.

PreviewAttachmentSize
Illusion.qtz53.28 KB