w3c / uievents

UI Events
https://w3c.github.io/uievents/
Other
145 stars 52 forks source link

Support queryKeyCap #156

Closed garykac closed 4 years ago

garykac commented 7 years ago

Previous versions of the UIEvents spec proposed queryKeyCap to get the symbol printed on the physical key cap (by assuming that it matched the locale).

See https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm for an old version of the spec that described this method.

Also see this WICG discussion, where something similar is proposed: https://discourse.wicg.io/t/keyboardevent-getcharacterbykey-key-modifierlist/1857

garykac commented 6 years ago

See this related proposal : https://github.com/garykac/keyboard-map/blob/master/proposal.md

garykac commented 6 years ago

Editor's Draft for proposal: https://wicg.github.io/keyboard-map/