<div dir="ltr"><div>I've hesitated to update to el capitan because a lot of people have been having issues.<br></div>I also have the latest MacBook pro but 15" and everything works so far.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-28 19:06 GMT-06:00 Spencer Salazar <span dir="ltr"><<a href="mailto:spencer@ccrma.stanford.edu" target="_blank">spencer@ccrma.stanford.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi David,<div><br></div><div>I will test this on my end also but some times an OS version update will introduce "ghost" HID's, especially keyboards or trackpads, that can be opened but do not generate data. This has happened a few times before. The way to check is to change the kbNum and see if using a different number (1, 2, 3, etc.) produce data. You only need to try this until you see "couldn't open keyboard #" for whichever number after 0, which means you've exhausted the list of things ChucK thinks is a keyboard. </div><div><br></div><div>Otherwise this could be a new issue specific to El Capitan :(</div><div><br></div><div>spencer</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Oct 28, 2015 at 11:16 AM, David Loberg Code <span dir="ltr"><<a href="mailto:d.loberg.code@wmich.edu" target="_blank">d.loberg.code@wmich.edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="word-wrap:break-word"><div>I have a student with a MacBook Pro (Retina, 13", early-2015). She was on Yosemite with latest ChucK build; now on El Capitan with the ChucK beta build (1.3.5.2 beta). The same problem happened in both builds.</div><div><br></div><div>She can open the keyboard with Hid. It will successfully pull the <a href="http://kb.name" target="_blank">kb.name</a> and print it.</div><div>However, it won’t detect any other activity from the keyboard.</div><div>It gets stopped at kb=>now; and won’t go any further. We have tried an external USB keyboard too, and it produces the same problem.</div><div><br></div><div>Anyone else have this happen OR have a cure?</div><div><br></div><div>thanks,</div><div><br></div><div>davd</div><div><br></div><div><div>David Loberg Code</div><div>Western Michigan University</div><div><a href="mailto:code@wmich.edu" target="_blank">code@wmich.edu</a></div></div><div><br></div><div><br></div><div><br></div><div><div style="margin:0px;font-family:Monaco"><span style="color:#94132e">Hid</span> kb;</div><div style="margin:0px;font-family:Monaco"><span style="color:#94132e">HidMsg</span> kbMsg;</div><div style="margin:0px;font-family:Monaco"><span style="color:#de9210">0</span> => <span style="color:#0433ff">int</span> kbNum;</div><div style="margin:0px;font-family:Monaco">kb.openKeyboard( kbNum ) => <span style="color:#0433ff">int</span> kbAvailable;</div><div style="margin:0px;font-family:Monaco"><span style="color:#0433ff">if</span> ( kbAvailable == <span style="color:#de9210">0</span> ) <span style="color:#0433ff">me</span>.exit();</div><div style="margin:0px;font-family:Monaco"><<< <span style="color:#515151">"keyboard '"</span>, <a href="http://kb.name" target="_blank">kb.name</a>(), <span style="color:#515151">"' ready"</span> >>>;</div><div style="margin:0px;font-family:Monaco;min-height:17px"><br></div><div style="margin:0px;font-family:Monaco;color:rgb(4,51,255)">while<span style="color:#000000"> (</span>true<span style="color:#000000">) {</span></div><div style="margin:0px;font-family:Monaco;color:rgb(114,158,18)"><span style="color:#000000"> </span>// hangs up waiting for kb=>now event</div><div style="margin:0px;font-family:Monaco"> kb => <span style="color:#0433ff">now</span>;</div><div style="margin:0px;font-family:Monaco"> <span style="color:#0433ff">while</span>(kb.recv(kbMsg)) {</div><div style="margin:0px;font-family:Monaco"> <span style="color:#0433ff">if</span> (kbMsg.isButtonDown()) {</div><div style="margin:0px;font-family:Monaco"> kbMsg.key => <span style="color:#0433ff">int</span> keyNum;</div><div style="margin:0px;font-family:Monaco"> <<< <span style="color:#515151">"#"</span>, keyNum >>>;</div><div style="margin:0px;font-family:Monaco;color:rgb(114,158,18)"><span style="color:#000000"> } </span>//end button down </div><div style="margin:0px;font-family:Monaco;color:rgb(114,158,18)"><span style="color:#000000"> } </span>// end while hid.recv</div><div style="margin:0px;font-family:Monaco;color:rgb(114,158,18)"><span style="color:#000000">} </span>// end while(true)</div></div><div><br></div><div><br></div><div> </div><br><div>
<div><br></div><br>
</div>
<br></div><br></div></div>_______________________________________________<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>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial;font-size:small"><div>Spencer Salazar<br></div><div>Doctoral Candidate</div><div>Center for Computer Research in Music and Acoustics</div><div>Stanford University</div><div><br></div><div><a href="mailto:spencer@ccrma.stanford.edu" target="_blank">spencer@ccrma.stanford.edu</a></div><div></div><div>+1 831.277.4654<br></div><div><a href="https://ccrma.stanford.edu/~spencer/" style="color:rgb(17,85,204)" target="_blank">https://ccrma.stanford.edu/~spencer/</a><br></div><div><br></div></div></div></div></div></div></div></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">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>
<br></blockquote></div><br></div>