Not a direct answer but: Try the droidparty [touch] abstraction:

https://github.com/chr15m/PdDroidParty/tree/master/droidparty-abstractions 
<https://github.com/chr15m/PdDroidParty/tree/master/droidparty-abstractions>

It uses data structures to make a draggable xy slider(set), vanilla-only.

> On May 12, 2022, at 7:23 AM, pd-list-requ...@lists.iem.at wrote:
> 
> Message: 2
> Date: Thu, 12 May 2022 13:54:07 +0200
> From: "Peter P." <peterpar...@fastmail.com <mailto:peterpar...@fastmail.com>>
> To: pd-list <pd-list@lists.iem.at <mailto:pd-list@lists.iem.at>>
> Subject: [PD] two sliders on top of each other (XY-Controller)?
> Message-ID: <20220512115407.oh2xglvqq3a4y...@fastmail.com 
> <mailto:20220512115407.oh2xglvqq3a4y...@fastmail.com>>
> Content-Type: text/plain; charset=us-ascii
> 
> Hi list,
> 
> jus tried if two sliders placed on top of each other could work as a
> simple XY-contoller. They do not, but more interestingly it is the lower
> of the two slider that receives the mouse clicks while the upper is
> visible. Is this intentional? 
> 
> Could GUI objects be transparent in color as well as for clicks in any
> way?
> 
> I know about the canvas-objects reporting their positions (and it would
> be cool if they would report mouse-downs and -ups as well), but don't
> like the fact that I have to be in edit mode to move them.
> 
> It seems there is no other vanilla way for xy-controllers then...
> 
> thanks!
> Peter

--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>



_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to