Hi,

With help from :masayuki et al, we are almost ready to land a major
mozInputMethod API change.

https://bugzilla.mozilla.org/show_bug.cgi?id=1137557

The change is done in order to remove it's dependency to
DOMWindowUtils and also allow the keyboard apps to specify DOM Level 3
properties, like |key| and |code|.

|code| is especially useful to web-based games since the property maps
to the physical keys on the keyboard, independent of the layout (e.g.
Qwerty v.s. Dvorak).

The bug also infer the legacy keyCode value independent of the app, so
with this patch we will begin to emit keyboard events with correct
keyCodes.

If everything goes according to plan, it should be transparent to
daily use (except when interacting with web applications that respond
to keyCode/key/code properties -- the will finally begin to work), but
please file dependent bug if there is any problem cause by this
change.

We should start cleaning up Gaia and move away from |keyCode| to |key|
too after this change.


Tim
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to