Re: [D4E] KeyboardEvent.code and KeyboardEvent.queryKeyCap() are very strange spec

Yes.  This is another reason to base the "code" specification (albeit
loosely) upon the USB Keyboard Usage table - hardware with unusual physical
arrangements will still need to generate standard-looking USB codes to
maintain compatibility with existing systems, and across different
platforms.


On 11 March 2013 12:56, Florian Bösch <pyalot@gmail.com> wrote:

> I'd also like to mention that the purpose of the code being in the same
> position would serve a web-application developer to create default layouts,
> and to let users exchange layouts by plugging in a different config file.
> But that only works if the code can aproximate the position on a variety of
> physical keyboards as close as possible (of course not all keyboards are
> laid out exactly the same, but there are broad similarities).
>

Received on Monday, 11 March 2013 20:08:01 UTC