Look at the GEM OSX code for mouse and keyboard events hacking.&nbsp; Getting the required data doesn&#39;t always require the by the book event loops.&nbsp;&nbsp; <br><br><div class="gmail_quote">On Tue, Mar 25, 2008 at 4:22 PM, Hans-Christoph Steiner &lt;<a href="mailto:hans@eds.org">hans@eds.org</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
So does this scheduler then completely override the built-in one? &nbsp;I<br>
am trying to find a way to deal with Apple Carbon CFRunLoops, which<br>
are needed by the IOBluetooth API in order to get the data from the<br>
devices at regular intervals.<br>
<br>
Carbon apps all have one built-in, it is the main event loop, but<br>
since &#39;pd&#39; is separate from its GUI, the CFRunLoop is in the pd-gui<br>
Tcl/Tk process, and therefore the wiiremote object can&#39;t hook into it.<br>
<br>
.hc<br>
<div><div></div><div class="Wj3C7c"><br>
On Mar 24, 2008, at 7:17 PM, Miller Puckette wrote:<br>
&gt; It was working as of 0.37 (got used in PdVST) but I haven&#39;t tested it<br>
&gt; for years, and of course I might have broken it moving it to<br>
&gt; s_loader.c.<br>
&gt; I&#39;m now planning a pd object that starts a subsidiary Pd process<br>
&gt; which will<br>
&gt; almost certainly have to plug in an alternate scheduler, so we should<br>
&gt; know within a few months...<br>
&gt;<br>
&gt; cheers<br>
&gt; Miller<br>
&gt;<br>
&gt; On Mon, Mar 24, 2008 at 07:12:24PM -0400, Hans-Christoph Steiner<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I meant, is the schedlib stuff working.<br>
&gt;&gt;<br>
&gt;&gt; .hc<br>
&gt;&gt;<br>
&gt;&gt; On Mar 24, 2008, at 4:22 PM, Miller Puckette wrote:<br>
&gt;&gt;&gt; I&#39;ve never tried pdj (don&#39;t use java) so don&#39;t know.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; cheers<br>
&gt;&gt;&gt; M<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Mon, Mar 24, 2008 at 04:15:34PM -0400, Hans-Christoph Steiner<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; It seems that the pdj (mxj clone) code uses it. &nbsp;Is it functional?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; .hc<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Mar 24, 2008, at 3:06 PM, Miller Puckette wrote:<br>
&gt;&gt;&gt;&gt;&gt; That&#39;s me trying to facilitate plugging in alternative schedulers<br>
&gt;&gt;&gt;&gt;&gt; (threaded ones for instance :)<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; M<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; On Sat, Mar 22, 2008 at 01:43:03AM -0400, Hans-Christoph Steiner<br>
&gt;&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I just noticed this new code in s_loader.c and pdj. &nbsp;Is there any<br>
&gt;&gt;&gt;&gt;&gt;&gt; explanation of what it is anywhere? &nbsp;I couldn&#39;t find it. &nbsp;But<br>
&gt;&gt;&gt;&gt;&gt;&gt; from<br>
&gt;&gt;&gt;&gt;&gt;&gt; what I read in pdj about it, it sounds useful for me elsewhere.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; .hc<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; -----------------------------------------------------------------<br>
&gt;&gt;&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt;&gt;&gt; ---<br>
&gt;&gt;&gt;&gt;&gt;&gt; ----<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; &#39;You people have such restrictive dress for women,? she said,<br>
&gt;&gt;&gt;&gt;&gt;&gt; hobbling away in three inch heels and panty hose to finish out<br>
&gt;&gt;&gt;&gt;&gt;&gt; another pink-collar temp pool day. &nbsp;- ?Hijab Scene #2&quot;, by Mohja<br>
&gt;&gt;&gt;&gt;&gt;&gt; Kahf<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt;&gt; PD-dev mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:PD-dev@iem.at">PD-dev@iem.at</a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://lists.puredata.info/listinfo/pd-dev" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; -------------------------------------------------------------------<br>
&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt; ---<br>
&gt;&gt;&gt;&gt; ----<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; All information should be free. &nbsp;- the hacker ethic<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ---------------------------------------------------------------------<br>
&gt;&gt; ---<br>
&gt;&gt; ----<br>
&gt;&gt;<br>
&gt;&gt; The arc of history bends towards justice. &nbsp; &nbsp; - Dr. Martin Luther<br>
&gt;&gt; King, Jr.<br>
&gt;&gt;<br>
<br>
<br>
</div></div>------------------------------------------------------------------------<br>
----<br>
<br>
Access to computers should be unlimited and total. &nbsp;- the hacker ethic<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
_______________________________________________<br>
PD-dev mailing list<br>
<a href="mailto:PD-dev@iem.at">PD-dev@iem.at</a><br>
<a href="http://lists.puredata.info/listinfo/pd-dev" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a><br>
</div></div></blockquote></div><br>