On 07/12/2016 07:24 AM, Eric Shepherd wrote:
Currently, our docs for KeyboardEvent.key and KeyboardEvent.code try to
provide direct maps of each major OS's keycodes to the values that
result from pressing them. This makes for lots of tables with a lot of
repetitive information.

I'm looking to simplify this.

How useful is it to have all of these tables, rather than just a list of
the key values (or code values, for KeyboardEvent.code) and what they
mean, and leaving the mapping of the hardware code to the standard
values to OS-level documentation?

What you mean with "leaving the mapping of the hardware code to the standard values 
to OS-level documentation"?
Where is such documentation?


I can continue to provide the per-OS information (I'd kind of like to --
but I have to consider the time involved), but if it's only marginally
helpful, it may not be worth the maintenance cost, so I'd like to see if
there are opinions on that.
I think the information is super useful, and I'm not aware of other places in 
the web where
all that information is available. (but maybe there is some other documentation 
somewhere)



What I'd like to do is provide tables broken down by key category
(navigation, whitespace, modifier, etc) like the spec does, because I
think that's really handy, with tables that have columns for the key
value, description, and (if useful) a column for each of the major
platforms.

It would be rather nice to be able to order the columns based on OS level / 
virtual-key code or in some other ways, like based on
category.



Any thoughts appreciated!



_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to