Skip to content

Make brief mention of quirks in keyCode and key for the different renderers #318

@benfry

Description

@benfry

Apropos of processing/processing#3827 and processing/processing#3888, we're stuck with some unfixable differences between how renderers handle keyCode in particular, but also key (in the case of ENTER and RETURN).

We can't document every last difference, but we should briefly mention that behavior for key codes that we don't document (those not mentioned in PConstants), the behavior may change slightly between renderers.

See those two issues for more details about it. We could also make it a Wiki page if we need to get into that much detail. But I'd lean toward saying "keyCode is tricky across renderers and different operating systems... your mileage may (will) vary and just be careful as you switch renderers and operating systems and use undocumented keys".

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions