[PD-dev] [ pure-data-Bugs-2020998 ] [key], [keyup], [keyname] send OS-generated auto-repeats

SourceForge.net noreply at sourceforge.net
Fri Jul 18 17:45:17 CEST 2008


Bugs item #2020998, was opened at 2008-07-17 19:02
Message generated for change (Comment added) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2020998&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: v0.38.3
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Nobody/Anonymous (nobody)
Summary: [key], [keyup], [keyname] send OS-generated auto-repeats

Initial Comment:
[key], [keyup], [keyname] do not only send actual keyPress and keyRelease events.  They also send OS-generated auto-repeat events, which makes these objects hard to use to detect individual key presses and releases.

This wiki page describes three approaches for fixing this:

http://wiki.tcl.tk/20299

----------------------------------------------------------------------

>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-07-18 11:45

Message:
Logged In: YES 
user_id=27104
Originator: YES

I have yet to find a time when I wanted the auto-repeat key presses.  Plus
the auto-repeat behaviors are completely different on each OS, so that
means if you rely on that, your patch is tied to a specific platform. 
Lastly, it is far easier to generate the auto-repeat keys in Pd than it is
to remove them.

----------------------------------------------------------------------

Comment By: Frank Barknecht (fbar)
Date: 2008-07-18 06:30

Message:
Logged In: YES 
user_id=569446
Originator: NO

I think, this report would be better as a Feature Request.

Adding a way to the key-objects to discern between auto-generated and
manual keypresses would be a nice feature, but in several use cases one
actually *wants* to receive autogenerated keyboard requests as well.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2020998&group_id=55736




More information about the Pd-dev mailing list