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

Hans-Christoph Steiner hans at eds.org
Mon Nov 29 21:54:47 CET 2004


I'll look into this once I get some time since I am immersed in the  
world of HID implementations these days.

.hc

On Nov 27, 2004, at 8:19 PM, Miller Puckette wrote:

> There's no reason to keep it as is, but I don't know how to fix it!
>
> cheers
> Miller
>
> On Wed, Nov 24, 2004 at 09:21:54PM -0500, Hans-Christoph Steiner wrote:
>>
>> 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
>>
>>
>
>
>
>>
>>
>>
>> ______________________________________________________________________ 
>> ______
>>
>>
>>                   ¡El pueblo unido jamás será vencido!
>>
>>

                                     http://at.or.at/hans/






More information about the Pd-dev mailing list