w3c / uievents-key

UI Events KeyboardEvents key Values
https://w3c.github.io/uievents-key/
Other
15 stars 16 forks source link

Define mobile phone related keys #4

Closed garykac closed 8 years ago

garykac commented 8 years ago

From @garykac on October 6, 2015 22:37

Copied from W3C Bugzilla: https://www.w3.org/Bugs/Public/show_bug.cgi?id=21121

Masayuki Nakano 2013-02-26 07:55:53 UTC

There are some telephone related keys which are not defined in D3E:

GTK Qt Android GDK_Phone Qt::Key_Phone Qt::Key_Call KEYCODE_CALL Qt::Key_CameraFocus KEYCODE_FOCUS Qt::Key_Hangup KEYCODE_ENDCALL Qt::Key_ToggleCallHangup Qt::Key_VoiceDial Qt::Key_LastNumberRedial KEYCODE_HEADSETHOOK KEYCODE_MANNER_MODE KEYCODE_CONTACTS

Comment 1 Masayuki Nakano 2013-02-27 02:30:58 UTC

My suggestions are:

'LaunchPhone' as General or 'Phone' as Device 'PhoneCall' as Phone 'CameraFocusAdjust' as Device 'PhoneHangup' as Phone 'TogglePhoneCallHangup' as Phone 'LaunchVoiceDial' as General or Phone 'HeadsettHook' as Phone or Device 'ToggleMannerMode' as Phone or Device 'LaunchAddressBook' as General

Comment 2 Masayuki Nakano 2013-05-08 12:36:00 UTC

http://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_MUTE

Android's KEYCODE_MUTE is a mute key for microphone.

It should be 'MicMute' as Device?

Copied from original issue: w3c/uievents#11

garykac commented 8 years ago

Partial fix in https://github.com/w3c/DOM-Level-3-Events-key/commit/4bbb1f7f9f3527daf26cbcf8942b003b2b50de1a