Peter P. wrote:
Dear Dan and everyone contributing to this issue,
I kinda felt this is a sensitive topic but was not aware of the amount of frustrating work that has already gone into it. Every bit of it is much appreciated, thank you and everyone a lot!
So if I would want to write a patch that uses the [key] and [keyup] objects to work consistently on all three platforms, I would have to tell the user to turn key repeat off in her operating system AND provide a means to filter out repeating key ons (Win and OS X), correct?
In this case I happily deal with the current status.
Often key repetitions are desired, for example if i want to make a beautiful dividing line like this:
=======================================================================
Maybe a safer approach would be to provide an abstraction that does the filtering depending on the OS.
Of course you will need at least [operating_system] from ZEXY for that, so this wouldn't be vanilla only. and of course it has other drawbacks, as it would need to be centralised (only one instance of [keyname] and then distribute the results with a [send])
that's at least the way i do it
attached is an abstraction i made a few years ago, haven't revised it lately, so please just take it as an example (also as it's only for windows ATM)
best
oliver