Tiny 1.2 and Key Identifiers

Dear All,

According to A.5.7 in SVG Tiny 1.2 Specs [1], KeyboardEvent are defined
as a subset of the DOM level 3 KeyboardEvent [2]. However [2] specifies
that:

The keycodes Multiply, Add, Substract, Decimal, Separator, Divide,
NumPad0, NumPad1, NumPad2, NumPad3, NumPad4, NumPad5, NumPad6, NumPad7,
NumPad8, and NumPad9 are not part of this set. Use
KeyboardEvent.keyLocation to know if a key originated from the numeric
keypad.

But the KeyboardEvent.keyLocation is not present in SVG 1.2 Tiny mDOM. 

How do I know if the pressed key is coming from the key pad in SVG 1.2
Tiny ?

Also note that the modifier keys are not present in KeyboardEvent of the
SVG 1.2 mDOM. How do I know if the ctrl or shift key was pressed by the
user ? How do I differentiate when the user presses the lower case 'a'
or the upper case 'A' ?

Any hints are welcome.

Julien


[1] http://www.w3.org/TR/SVGMobile12/svgudom.html#events__KeyboardEvent
[2] http://www.w3.org/TR/2006/WD-DOM-Level-3-Events-20060413/events.html


------------------------------------------------------------------------
--

Julien Reichel, PhD
Technology Architect, SpinetiX S.A.
PSE-C, CH-1015, Lausanne, Switzerland

Tel:     +41 (0) 21 693 89 81
Mail:   julien.reichel@spinetix.com
Get Information : http://www.spinetix.com

------------------------------------------------------------------------
--

Received on Tuesday, 10 June 2008 08:52:19 UTC