W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2013

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

From: Wez <wez@chromium.org>
Date: Mon, 11 Mar 2013 13:06:31 -0700
Message-ID: <CALekkJdbbo3GLQPGMvwu8J8Z_6DrO2atnYrJ0HGip_tOzYOGEg@mail.gmail.com>
To: Florian Bösch <pyalot@gmail.com>
Cc: "Hallvord R. M. Steen" <hallvord@opera.com>, Masayuki Nakano <masayuki@d-toybox.com>, "www-dom@w3.org" <www-dom@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Monday, 11 March 2013 20:08:04 GMT