Closed Bug 936322 Opened 11 years ago Closed 9 years ago

Support new key names "GroupNext", "GroupPrevious", "GroupFirst" and "GroupLast" for keyboard layout switching key

Categories

(Core :: DOM: Events, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla37

People

(Reporter: masayuki, Assigned: masayuki)

References

()

Details

Attachments

(1 file, 1 obsolete file)

For keyboard layout switching keys, new key names "GroupNext", "GroupPrevious", "GroupFirst" and "GroupLast" are defined.
Status: NEW → ASSIGNED
These key are defined for GTK's ISO keys.

According to the definition of ISO,

http://en.wikipedia.org/wiki/ISO/IEC_9995#Groups

this works as switch of keyboard layouts. Therefore, I believe that AKEYCODE_LANGUAGE_SWITCH of Android should be "GroupNext".

https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3Events-key.html#key-GroupFirst

http://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_LANGUAGE_SWITCH
>  public static final int KEYCODE_LANGUAGE_SWITCH
> Added in API level 14
> 
> Key code constant: Language Switch key. Toggles the current input language
> such as switching between English and Japanese on a QWERTY keyboard. On some
> devices, the same function may be performed by pressing Shift+Spacebar.
Attachment #8445211 - Flags: review?(nchen)
Attachment #8445211 - Flags: review?(mwu)
Attachment #8445211 - Flags: review?(karlt)
Attachment #8445211 - Flags: review?(bugs)
Attachment #8445211 - Flags: review?(nchen) → review+
Comment on attachment 8445211 [details] [diff] [review]
Support "GroupFirst", "GroupLast", "GroupNext" and "GroupPrevious" key values on GTK, Android and Gonk

The _Group_Lock variants are not used in any xkeyboard-config layouts, even on layouts where the _Group keys lock the group.
Attachment #8445211 - Flags: review?(karlt) → review+
Attachment #8445211 - Flags: review?(mwu) → review+
Comment on attachment 8445211 [details] [diff] [review]
Support "GroupFirst", "GroupLast", "GroupNext" and "GroupPrevious" key values on GTK, Android and Gonk

So if _Lock aren't actually used, perhaps no need to add them here.
Attachment #8445211 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/3f542e61e7fa
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: