[PD-dev] Are keyup and keyname broken?

Kevin Haywood khaywood at ucsd.edu
Tue Jan 30 23:32:17 CET 2018


Ah, indeed! Well, good to know, thank you!

Kevin


> On Jan 30, 2018, at 7:32 AM, Dan Wilcox <danomatika at gmail.com> wrote:
> 
> Yup: https://github.com/pure-data/pure-data/issues/213 <https://github.com/pure-data/pure-data/issues/213>
> 
>> On Jan 29, 2018, at 12:00 PM, pd-dev-request at lists.iem.at <mailto:pd-dev-request at lists.iem.at> wrote:
>> 
>> Message: 1
>> Date: Sun, 28 Jan 2018 11:41:08 -0800
>> From: Kevin Haywood <khaywood at ucsd.edu <mailto:khaywood at ucsd.edu>>
>> To: pd-dev <pd-dev at lists.iem.at <mailto:pd-dev at lists.iem.at>>
>> Subject: [PD-dev] Are keyup and keyname broken?
>> Message-ID: <DF767778-3443-45DF-9ECA-8C3F57DDA276 at ucsd.edu <mailto:DF767778-3443-45DF-9ECA-8C3F57DDA276 at ucsd.edu>>
>> Content-Type: text/plain;	charset=utf-8
>> 
>> Hello,
>> 
>> Apologies if this specific issue has been discussed before. I searched the archives and found related topics, but not this issue.
>> 
>> I’d just like to find out if what I’m seeing on my machine is happening at large. On latest macOS (10.13.3), with Pd 0.48-1, keyup and the keyup functionality of keyname appear broken, with the following behavior:
>> 
>> (The quick and easy way to observe this is to open key-help.pd, then type. If your situation is like mine, you will never see the status outlet of keyname report an output of 1.)
>> 
>> Pressing a key on my keyboard produces the expected response from key, but also produces an instantaneous response from keyup and from the status outlet of keyname (even though the key has not been released). That is, if I follow the status outlet of keyname with [sel 0 1], routing the bang from 1 to the left inlet of timer, and the bang from 0 to the right inlet of timer, then pressing and holding any key returns either a time of 0 between keyname’s issuance of the values 1 and 0, or a period reflecting the blocksize (1.45125); in either case, the keyup is issued long before the OS decides to start issuing key repeats.
>> 
>> Actually, complicating this issue is this: regardless of whether System Preferences > Keyboard > Key Repeat is set to Off or on (any other value), Key Repeat does not appear to /ever/ occur in any application except Pd, and yet it will /always/ occur in Pd (but only for keyboard characters which can evoke alternate characters, i.e. ‘a’, which can evoke à, á, â, ä, æ, ã, å, or ā when held during text input in most apps except Pd).
>> 
>> So, is the issue (keyup firing on key press) occurring for others, and if so, is it just Mac users, or does it occur cross-platform?
>> 
>> Best regards,
>> Kevin
> 
> --------
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com <http://danomatika.com/>
> robotcowboy.com <http://robotcowboy.com/>
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20180130/e354eb7c/attachment-0001.html>


More information about the Pd-dev mailing list