- From: <bugzilla@jessica.w3.org>
- Date: Fri, 22 Feb 2013 09:23:52 +0000
- To: www-dom@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21083 Bug ID: 21083 Summary: Proposal key names for Android Classification: Unclassified Product: WebAppsWG Version: unspecified Hardware: Other OS: other Status: NEW Severity: normal Priority: P2 Component: DOM3 Events Assignee: schepers@w3.org Reporter: masayuki@d-toybox.com QA Contact: public-webapps-bugzilla@w3.org CC: mike@w3.org, www-dom@w3.org I'm trying to implement KeyboardEvent.key value for non-printable keys on Android. Then, following native keys cannot be mapped to the key names in the list (http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#key-values-list): * KEYCODE_SOFT_LEFT: I have no idea. * KEYCODE_SOFT_RIGHT: I have no idea. * KEYCODE_HOME: Perhaps, 'Exit'? The key name is 'Home' but it exits active application and moves to home screen. * KEYCODE_BACK: 'Back' as UI key? It's not only used for browser's 'back'. * KEYCODE_CALL: 'PhoneCall' as Device key? * KEYCODE_ENDCALL: 'PhoneEndCall' as Device key? * KEYCODE_SYM: 'Symbol' as Modifier key? The Android document says this is a modifier, but D3E defines only 'SymbolLock'. * KEYCODE_NUM: I'm not sure what's this key. * KEYCODE_NOTIFICATION: I'm not sure what's this key too. * KEYCODE_PICTSYMBOLS: 'PictureSymbolMode' as IME key? * KEYCODE_MEDIA_CLOSE: 'Close' as Device key? It closes opened tray by 'Eject'. Then, 'Eject' should be separated as 'Eject' and 'EjectClose'? * KEYCODE_ZOOM_IN: 'ZoomIn' as UI? * KEYCODE_ZOOM_OUT: 'ZoomOut' as UI? * KEYCODE_TV: Perhaps, 'Live'? But I think that 'TV' as Media key is better. * KEYCODE_DVR: 'DVR' or 'VideoRecorder' as Media key? * KEYCODE_TV_POWER: 'TVPower' as Media key? * KEYCODE_TV_INPUT: 'TVSelectInput' as Media key? * KEYCODE_STB_POWER: 'STBPower' as Media key? * KEYCODE_STB_INPUT: 'STBSelectInput' as Media key? * KEYCODE_AVR_POWER: 'AVReceiverPower' as Media key? * KEYCODE_AVR_INPUT: 'AVReceiverSelectInput' as Media key? * KEYCODE_LANGUAGE_SWITCH: 'ToggleLanguage' or 'SwitchLanguage' as IME key? * KEYCODE_MANNER_MODE: 'ToggleMannerMode', 'SwitchMannerMode' or just 'MannerMode' as Device key? * KEYCODE_3D_MODE: 'Toggle3DMode' as Media key? * KEYCODE_CONTACTS: 'LaunchAddressBook' as General key? * KEYCODE_CALENDAR: 'LaunchCalendar' as General key? * KEYCODE_MUSIC: 'LaunchMusicPlayer' as General key? * KEYCODE_CALCULATOR: 'LaunchCalculator' as General key? * KEYCODE_ZENKAKU_HANKAKU: 'ToggleWidth' as IME key? Both 'FullWidth' and 'HalfWidth' are not useful for this. * KEYCODE_KATAKANA_HIRAGANA: 'ToggleKatakanaHiragana' as IME key? 'Katakana' and 'Hiragana' key are not useful for this. And for game pad: KEYCODE_BUTTON_A: KEYCODE_BUTTON_B: KEYCODE_BUTTON_C: KEYCODE_BUTTON_X: KEYCODE_BUTTON_Y: KEYCODE_BUTTON_Z: KEYCODE_BUTTON_L1: KEYCODE_BUTTON_R1: KEYCODE_BUTTON_L2: KEYCODE_BUTTON_R2: KEYCODE_THUMBL: KEYCODE_THUMBR: KEYCODE_BUTTON_START: KEYCODE_BUTTON_SELECT: KEYCODE_BUTTON_MODE: KEYCODE_BUTTON_1: KEYCODE_BUTTON_2: KEYCODE_BUTTON_3: KEYCODE_BUTTON_4: KEYCODE_BUTTON_5: KEYCODE_BUTTON_6: KEYCODE_BUTTON_7: KEYCODE_BUTTON_8: KEYCODE_BUTTON_9: KEYCODE_BUTTON_10: KEYCODE_BUTTON_11: KEYCODE_BUTTON_12: KEYCODE_BUTTON_13: KEYCODE_BUTTON_14: KEYCODE_BUTTON_15: KEYCODE_BUTTON_16: 'GamePadButtonA'..., 'GamePadThumbLeft', 'GamePadThumbRight', 'GamePadButton1"? -- You are receiving this mail because: You are on the CC list for the bug.
Received on Friday, 22 February 2013 09:23:54 UTC