[PD] Help with Bang question?
Hans-Christoph Steiner
hans at eds.org
Wed May 24 18:39:25 CEST 2006
Let's keep this on the list since its of general interest, and others
can answer these questions as well.
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.
.hc
On May 24, 2006, at 4:58 PM, Carlos Caires wrote:
> Yes, thank you, but if I press a Key continuously, I will receive
> several bangs – and this is what I do not want.
>
> The bang should be when I start pressing the key, and when I
> finishes pressing it (let´s say during 10 seconds).
>
> Thanks,
> Carlos.
>
>
> On 06/05/24 15:54, "Hans-Christoph Steiner" <hans at eds.org> wrote:
>
>>
>> [key] gives you data on key down, [keyup] on up, and [keyname]
>> give you both in a different format.
>>
>> .hc
>>
>> On May 24, 2006, at 4:42 PM, Carlos Caires wrote:
>>
>>>
>>> Hi,
>>>
>>> Is there any method to receive a "bang" ONLY when I start or
>>> finishes pressing a key on the keyboard? (and not in-between)
>>>
>>> In attach, the patch for better understanding.
>>>
>>> Thanks.
>>>
>>> Carlos Caires
>>> <bang-question.pd>
>>> _______________________________________________
>>> PD-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
>>> listinfo/pd-list
>>>
>>
>>
>>
>>
>>
>>
>> _____________________________________________________________________
>> _______
>>
>>
>>
>>
>>
>> "Information wants to be free."
>>
>>
>> -Stewart Brand
>>
>>
>>
>
________________________________________________________________________
____
http://at.or.at/hans/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060524/1bb98e82/attachment.htm>
More information about the Pd-list
mailing list