7 Oct
2020
7 Oct
'20
5:37 p.m.
Hi all, Has anyone had trouble, or succeeded, with using the mouse since Mojave? I suspect that it’s a permissions thing, but nothing asks if it can use the mouse. I know that Processing users have had trouble with camera permissions, so I suspect this might be similar. Odd that ChucK will open the mouse and report that it’s ok, tho. Here’s my super simple test code: Hid hi; // hid (will be mouse) object HidMsg msg; // hid message if( !hi.openMouse( 0 ) ) me.exit(); <<< "mouse ready...", "" >>>; while( true ) { // wait on event hi => now; // get message(s) while( hi.recv( msg ) ) { if( msg.is_button_down() ) <<< "BANG!!!", msg.x, msg.y >>>; } }