Re: [DOM-Level-3-Events-key] Proposal key names for Android (#6)

There are only 4 keys left:

> SoftLeft
> SoftRight
> Num
> Notification

According to https://groups.google.com/forum/#!topic/android-developers/djWnqjeJtKI, KEYCODE_SOFT_LEFT and KEYCODE_SOFT_RIGHT are no longer used (but are still defined in Android for compat).

KEYCODE_NUM is the number modifier key (but not equivalent to NUM_LOCK). It is described in  http://osxr.org/android/source/frameworks/base/core/java/android/view/KeyEvent.java as:

    /** Key code constant: Number modifier key.
     * Used to enter numeric symbols.
     * This key is not Num Lock; it is more like {@link #KEYCODE_ALT_LEFT} and is
     * interpreted as an ALT key by {@link android.text.method.MetaKeyKeyListener}. */

So, I think this should come through at Alt.

That just leaves KEYCODE_NOTIFICATION.


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/DOM-Level-3-Events-key/issues/6#issuecomment-153566023

Received on Wednesday, 4 November 2015 04:06:40 UTC