<div dir="ltr">Hi rolf, there are a few confusing things in the LEAP world across Linux/Mac/Windows, but when I was working on this a few months back I did successfully get both [leapmotion] and [ultraleap] working on multiple Windows 10 machines with an original Leap Motion Controller. That said, since you're on Windows 11 there could be some new wrinkles. But here are some starting points to check:<div><br></div><div>First, since you're using [leapmotion] and the old 2.3.1 LEAP software, did you see the Windows notes at the bottom of the INSTALL.txt in the GitHub repo? You can see that <a href="https://github.com/wbrent/leapmotion/blob/main/INSTALL.txt">here</a>. Maybe running that dpinst64.exe installer will resolve things, though I'm not too confident of that since you're already using your device successfully with other software.</div><div><br></div><div>Second, have you tried installing the latest LEAP software (Gemini 5.7.2) instead of the old 2.3.1? The latest software supports the new UltraLeap controller as well as the original LEAP Motion Controller (which is what you seem to be using). If you install that, you can try using the [ultraleap] external instead, and hopefully things "just work." It's also available via deken.</div><div><br></div><div>If both of those fail, my next guess would be that there are additional .dll dependencies as of Windows 11. If that's the case, you'd see messages in Pd's console warning that "The specified module could not be found." About the focus gained/lost messages, those should occur when you click on or away from Pd to make it the foreground application or not. If you're getting spammed with a bunch of these messages and aren't changing application focus, then there's an issue I should look into. That worked as expected for me in my Windows tests back in January.</div><div><br></div><div>Let me know if any of this gets you unstuck. I was really hoping that these updates to [leapmotion] would make it usable on all platforms for at least a little while, so I'd love to get this working on Windows 11.</div><div>William</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 15, 2023 at 12:41 PM <<a href="mailto:rolfm@dds.nl">rolfm@dds.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>i finally got my hands on a Mac:</p>
<p>installed the same Pd, leapmotion software, [leapmotion] for Mac.</p>
<p>with my controller i got immediate result.</p>
<p>the message "focus gained" appeared instantly, </p>
<p>and i could use the cursor-test: moving around and firing the bang.</p>
<p><br></p>
<p>it really looks like there's something not right with [leapmotion] for Windows.</p>
<p>(the leapmotion apps available for V2 are also working onmy Windows machine).</p>
<p><br></p>
<p>NB fwiw, when opening leapmotion.h in Visual Studio there appears this message</p>
<p>"// this project is built against LeapDeveloperKit_2.3.1+31549_mac, and requires the same version of libLeap.dylib"</p>
<p>rolf</p>
<p><br></p>
<p><a href="mailto:rolfm@dds.nl" target="_blank">rolfm@dds.nl</a> schreef op 05-04-2023 14:03:</p>
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
<p>Windows 11, PD-53.1<br>SDK:LeapDeveloperKit_2.3.1+31549_win<br><br>PD-console:<br>---------------------------------------------<br>Leap Motion Listener: Initialized<br>Leap Motion Service: Connected<br>Leap Motion Connected Device: LP32497879452 v1.7.0<br><br>****************<br>[leapmotion] for Pd version 0.2.3<br>Forked from version 0.1 by Chikashi Miyama<br>Updated by William Brent (Dec 2022)<br>****************<br><br>Leap Motion Service: Connected<br><br><br>Leap Motion Controller: Focus gained<br>Leap Motion Controller: Focus lost<br><br>Leap Motion Controller: Focus gained<br>Leap Motion Controller: Focus lost<br><br>Leap Motion Controller: Focus gained<br>Leap Motion Controller: Focus lost<br><br>-------------------------------------------------<br><br>i've been trying to get leapmotion-help working, with minimal succes.<br>where the leapmotion diagnostic visualiser shows my hands representation all the time, <br>[leapmotion] does not report anything from the controler,<br> and now and then prints the messages focus gained/focus lost.<br><br>only a few times suddenly a frame with general data showed up,<br> with or without a change of position for the button in the cursor-test.<br><br>why, i don't know. i cannot reproduce it, whatever i do with my hand(s).<br><br>the siamese appearance of the gained/lost messages gives the impression<br>(to me) there's some 'secret magic' needed for [leapmotion] to get focussed.<br><br>what am i missing or doing wrong?<br><br>rolf<br><br></p>
</blockquote>
<p><br></p>

</div>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">William Brent<br><br>“Great minds flock together”<br>Conflations: conversational idiom for the 21st century<br><br><a href="http://www.conflations.com" target="_blank">www.conflations.com</a></div></div>