[PD] getting mousedown/mouseup

Hans-Christoph Steiner hans at eds.org
Sun Dec 7 22:12:22 CET 2008


On Dec 6, 2008, at 3:54 PM, zmoelnig at iem.at wrote:

> Quoting "Hans-Christoph Steiner" <hans at eds.org>:
>
>>
>> It doesn't handle the regions.  Basically, I have an image of an
>> iPod, I want to make get the mouse up/down info on each of the
>> buttons on the iPod in the picture.  MouseState just gives me
>> whether  the button on the mouse is up or down.
>
> do you mean something like iem_event from iemgui?
> it just gives you and invisible object that you can interact with.

Something like that.  Except that there is a bug where you don't get  
the mouseup until you move the mouse.  I believe that bug is in Pd  
itself tho...

.hc

>
> mfgasd.r
> IOhannes
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list



------------------------------------------------------------------------ 
----

Computer science is no more related to the computer than astronomy is  
related to the telescope.      -Edsger Dykstra






More information about the Pd-list mailing list