<div dir="ltr"><div class="gmail_default" style="font-size:small">I just tested your code and it is working fine, I'm on 10.14.6. It works both in MiniAudicle and while running the script from terminal.<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I remember that at one point I had to enable permissions to allow the ADC to receive audio while running scripts from terminal. That doesn't seem too related but who knows?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 7, 2020 at 3:37 PM Perry Cook <<a href="mailto:prc@cs.princeton.edu">prc@cs.princeton.edu</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">Hi all,<br>
<br>
Has anyone had trouble, or succeeded, with using the mouse since Mojave?<br>
<br>
I suspect that it’s a permissions thing, but nothing asks if it can use the mouse.<br>
I know that Processing users have had trouble with camera permissions, so I<br>
suspect this might be similar. Odd that ChucK will open the mouse and report<br>
that it’s ok, tho. Here’s my super simple test code:<br>
<br>
<br>
Hid hi; // hid (will be mouse) object<br>
HidMsg msg; // hid message<br>
<br>
if( !hi.openMouse( 0 ) ) me.exit();<br>
<<< "mouse ready...", "" >>>;<br>
<br>
while( true )<br>
{<br>
// wait on event<br>
hi => now;<br>
// get message(s)<br>
while( hi.recv( msg ) )<br>
{<br>
if( msg.is_button_down() )<br>
<<< "BANG!!!", msg.x, msg.y >>>;<br>
}<br>
}<br>
<br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" rel="noreferrer" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</blockquote></div>