<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">(Replaying to the pd-list as well.)</div><div class=""><br class=""></div>I have used it with no problems. I believe the -1 is there so you can detect if the mouse is no longer dragging, kind of like active / inactive events. Just add a filter on the output like [moses 0]. I'm not sure why you see errors.<div class=""><br class=""></div><div class="">At the very least, you should be able to copy and modify the internals to suit your needs. Chris did most of the work already...<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 13, 2022, at 2:37 AM, Peter P. <<a href="mailto:peterparker@fastmail.com" class="">peterparker@fastmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Thanks Dan,<br class=""><br class="">this looks promising! Have you tried the abstraction yourself? It seems<br class="">it outputs a -1 whenever the mouse pointer has stoppend moving? And it<br class="">throws <br class=""> 1040template-marker: no such template<br class="">upon creation...<br class=""><br class="">cheersz, P<br class=""><br class="">* Dan Wilcox <<a href="mailto:danomatika@gmail.com" class="">danomatika@gmail.com</a>> [2022-05-13 08:31]:<br class=""><blockquote type="cite" class="">Not a direct answer but: Try the droidparty [touch] abstraction:<br class=""><br class=""><a href="https://github.com/chr15m/PdDroidParty/tree/master/droidparty-abstractions" class="">https://github.com/chr15m/PdDroidParty/tree/master/droidparty-abstractions</a> <<a href="https://github.com/chr15m/PdDroidParty/tree/master/droidparty-abstractions" class="">https://github.com/chr15m/PdDroidParty/tree/master/droidparty-abstractions</a>><br class=""><br class="">It uses data structures to make a draggable xy slider(set), vanilla-only.<br class=""><br class=""><blockquote type="cite" class="">On May 12, 2022, at 7:23 AM, <a href="mailto:pd-list-request@lists.iem.at" class="">pd-list-request@lists.iem.at</a> wrote:<br class=""><br class="">Message: 2<br class="">Date: Thu, 12 May 2022 13:54:07 +0200<br class="">From: "Peter P." <<a href="mailto:peterparker@fastmail.com" class="">peterparker@fastmail.com</a> <<a href="mailto:peterparker@fastmail.com" class="">mailto:peterparker@fastmail.com</a>>><br class="">To: pd-list <<a href="mailto:pd-list@lists.iem.at" class="">pd-list@lists.iem.at</a> <<a href="mailto:pd-list@lists.iem.at" class="">mailto:pd-list@lists.iem.at</a>>><br class="">Subject: [PD] two sliders on top of each other (XY-Controller)?<br class="">Message-ID: <<a href="mailto:20220512115407.oh2xglvqq3a4yjhl@fastmail.com" class="">20220512115407.oh2xglvqq3a4yjhl@fastmail.com</a> <<a href="mailto:20220512115407.oh2xglvqq3a4yjhl@fastmail.com" class="">mailto:20220512115407.oh2xglvqq3a4yjhl@fastmail.com</a>>><br class="">Content-Type: text/plain; charset=us-ascii<br class=""><br class="">Hi list,<br class=""><br class="">jus tried if two sliders placed on top of each other could work as a<br class="">simple XY-contoller. They do not, but more interestingly it is the lower<br class="">of the two slider that receives the mouse clicks while the upper is<br class="">visible. Is this intentional? <br class=""><br class="">Could GUI objects be transparent in color as well as for clicks in any<br class="">way?<br class=""><br class="">I know about the canvas-objects reporting their positions (and it would<br class="">be cool if they would report mouse-downs and -ups as well), but don't<br class="">like the fact that I have to be in edit mode to move them.<br class=""><br class="">It seems there is no other vanilla way for xy-controllers then...<br class=""><br class="">thanks!<br class="">Peter<br class=""></blockquote><br class="">--------<br class="">Dan Wilcox<br class="">@danomatika <<a href="http://twitter.com/danomatika" class="">http://twitter.com/danomatika</a>><br class=""><a href="http://danomatika.com" class="">danomatika.com</a> <<a href="http://danomatika.com/" class="">http://danomatika.com/</a>><br class=""><a href="http://robotcowboy.com" class="">robotcowboy.com</a> <<a href="http://robotcowboy.com/" class="">http://robotcowboy.com/</a>><br class=""><br class=""><br class=""><br class=""></blockquote><br class=""><blockquote type="cite" class="">_______________________________________________<br class=""><a href="mailto:Pd-list@lists.iem.at" class="">Pd-list@lists.iem.at</a> mailing list<br class="">UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" class="">https://lists.puredata.info/listinfo/pd-list</a><br class=""></blockquote><br class=""></div></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">--------</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Dan Wilcox</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://twitter.com/danomatika" class="">@danomatika</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://danomatika.com" class="">danomatika.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><a href="http://robotcowboy.com" class="">robotcowboy.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>