[PD-dev] autorepeat with [key], [keyup], and [keyname]

Hans-Christoph Steiner hans at eds.org
Thu Nov 25 03:21:54 CET 2004


I am working with the core keyboard objects and I noticed that when the 
key auto-repeats, these objects ([key], [keyup], and [keyname]), send a 
stream of alternating 0's and 1's.  I think that the correct way to do 
auto-repeat would just be to send out 1's for each repeat event, rather 
than alternating 0's and 1's.  The current condition makes it very hard 
to use the keys in their held state.

I would like to file a bug report, but I am wondering if there is any 
reason to keep the current behavior.  Attached is a patch that 
illustrates my point.


.hc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 563 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20041124/d3f443b0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keygate-help.pd
Type: application/octet-stream
Size: 1122 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20041124/d3f443b0/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keygate.pd
Type: application/octet-stream
Size: 1047 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20041124/d3f443b0/attachment-0001.obj>
-------------- next part --------------


________________________________________________________________________ 
____

                   ?El pueblo unido jam?s ser? vencido!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 182 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20041124/d3f443b0/attachment-0001.bin>


More information about the Pd-dev mailing list