- From: Кошмарчик <garykac@chromium.org>
- Date: Thu, 6 Sep 2012 15:58:25 -0700
- To: public-webapps@w3.org
Hi all, I've written up a brief proposal to enhance the current DOM Level 3 key events by adding USB keycodes. Here is a link to the proposal document: https://docs.google.com/document/d/1eJvlUaTBsWa71hIc0X4s6SrCopX9LCPs1YOAuVluxBs/edit _In summary_ *Why this proposal?* With the current DOM3 key events: Problem 1: Keyup events cannot be reliably matched with the originating keydown event. This is our primary motivation for this proposal since this causes problems for a webapp that we are working on. Problem 2: Keys cannot be identified by their position on the keyboard. *The proposal, in a nutshell* Add a new usbUsage field to the KeyboardEvent. The value of this field would contain the USB Usage Page and Usage ID for the key. These values are consistent and identify keys by their location on the keyboard without being affected by modifier keys or the current keyboard layout. Please see the linked document for a more detailed description and motivating examples. Thank you, Gary Kacmarcik garykac@chromium.org
Received on Friday, 7 September 2012 07:31:53 UTC