<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Let's keep this on the list since its of general interest, and others can answer these questions as well.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>For that, you will need the [hid] object, which gives you raw access to HID devices.  Its for Mac OS X and GNU/Linux.  But if you are patient, I am working right now on the next version which should also support Windows.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>.hc</DIV><BR><DIV><DIV>On May 24, 2006, at 4:58 PM, Carlos Caires wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px">Yes, thank you, but if I press a Key continuously, I will receive several bangs – and this is what I do not want.<BR> <BR> The bang should be when I start pressing the key, and when I finishes pressing it (letīs say during 10 seconds).<BR> <BR> Thanks,<BR> Carlos.<BR> <BR> <BR> On 06/05/24 15:54, "Hans-Christoph Steiner" &lt;<A href="mailto:hans@eds.org">hans@eds.org</A>&gt; wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE type="cite"><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px"><BR> [key] gives you data on key down, [keyup] on up, and [keyname] give you both in a different format.<BR> <BR> .hc<BR> <BR> On May 24, 2006, at 4:42 PM, Carlos Caires wrote:<BR> <BR> </SPAN></FONT><BLOCKQUOTE type="cite"><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px"> <BR>  Hi,<BR>  <BR>  Is there any method to receive a "bang" ONLY when I start or finishes pressing a key on the keyboard? (and not in-between)<BR>  <BR>  In attach, the patch for better understanding.<BR>  <BR>  Thanks.<BR>  <BR>  Carlos Caires <BR> &lt;bang-question.pd&gt;<BR> _______________________________________________<BR> <A href="mailto:PD-list@iem.at">PD-list@iem.at</A> mailing list<BR> UNSUBSCRIBE and account-management -&gt; <A href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</A><BR>  <BR> </SPAN></FONT></BLOCKQUOTE><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px"><BR>  <BR> <BR> <BR>  <BR> <BR> </SPAN></FONT><FONT size="4"><FONT face="Tahoma"><SPAN style="font-size:14.0px">____________________________________________________________________________<BR> </SPAN></FONT></FONT><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px"> <BR> <BR> <BR>  <BR> <BR> </SPAN></FONT><FONT size="4"><FONT face="Tahoma"><SPAN style="font-size:14.0px">"Information wants to be free."<BR> </SPAN></FONT></FONT><FONT face="Verdana, Helvetica, Arial"><SPAN style="font-size:12.0px"> <BR> <BR> </SPAN></FONT><FONT size="4"><FONT face="Tahoma"><SPAN style="font-size:14.0px">                                     </SPAN></FONT></FONT><FONT face="Tahoma"><SPAN style="font-size:12.0px">-Stewart Brand<BR> </SPAN></FONT><SPAN style="font-size:12.0px"><FONT face="Verdana, Helvetica, Arial">  <BR> <BR> <BR> </FONT></SPAN></BLOCKQUOTE><SPAN style="font-size:12.0px"><FONT face="Verdana, Helvetica, Arial"><BR> </FONT></SPAN>  </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV><BR></DIV><DIV>____________________________________________________________________________</DIV><DIV><BR></DIV><DIV>                            <A href="http://at.or.at/hans/">http://at.or.at/hans/</A></DIV><DIV><BR></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>