[uievents] Define TV or A/V remote controller's keys (#10)

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

##### Masayuki Nakano 2013-02-26 07:37:21 UTC
I found some keys for TV or A/V remote controller's key which are not defined in D3E.

GTK                   Qt                           Android
GDK_Switch_VT_1
GDK_Switch_VT_2
GDK_Switch_VT_3
GDK_Switch_VT_4
GDK_Switch_VT_5
GDK_Switch_VT_6
GDK_Switch_VT_7
GDK_Switch_VT_8
GDK_Switch_VT_9
GDK_Switch_VT_10
GDK_Switch_VT_11
GDK_Switch_VT_12
GDK_CycleAngle
GDK_AudioCycleTrack   Qt::Key_AudioCycleTrack
GDK_AudioRepeat       Qt::Key_AudioRepeat
GDK_FrameBack
GDK_FrameForward
GDK_Time              Qt::Key_Time
GDK_View              Qt::Key_View
GDK_TopMenu           Qt::Key_TopMenu
ContrastAdjust        Qt::Key_ContrastAdjust
                      Qt::Key_BassBoost
                      Qt::Key_TrebleUp
                      Qt::Key_TrebleDown
                      Qt::Key_CD
                      Qt::Key_Video                KEYCODE_DVR
                                                   KEYCODE_TV
                                                   KEYCODE_MEDIA_CLOSE
                                                   KEYCODE_TV_POWER
                                                   KEYCODE_TV_INPUT
                                                   KEYCODE_STB_POWER
                                                   KEYCODE_STB_INPUT
                                                   KEYCODE_AVR_POWER
                                                   KEYCODE_AVR_INPUT
                                                   KEYCODE_3D_MODE
##### Comment 1 Masayuki Nakano 2013-02-27 02:55:36 UTC
My suggestions are:

'Channel1' as Media
'Channel2' as Media
'Channel3' as Media
'Channel4' as Media
'Channel5' as Media
'Channel6' as Media
'Channel7' as Media
'Channel8' as Media
'Channel9' as Media
'Channel10' as Media
'Channel11' as Media
'Channel12' as Media
'SwitchAngle' as Media
'MediaRepeatTrack' as Media (I'm not sure the actual purpose of this key)
'MediaRepeat' as Media
'FrameBack' as Media
'FrameForward' as Media
'TimeSearch' as Media (I'm not sure the actual purpose of this key)
I have no idea for view key since I'm not sure the actual purpose of it.
'MediaTopMenu' as Media
'ContrastAdjust' as Media
'AudioBassBoost' as Media
'AudioTrebleUp' as Media
'AudioTrebleDown' as Media
'CD' as Media
'Video' as Media
'TV' as Media
'TrayClose' as Device
'TVPower' as Media or Device
'TVSelectInput' as Media or Device
'STBPower' as Media or Device
'STBSelectInput' as Media or Device
'AVReceiverPower' as Media or Device
'AVReceiverSelectInput' as Media or Device
'Toggle3DMode' as Media

##### Comment 2 Masayuki Nakano 2013-02-27 08:30:37 UTC
On Windows, we can also dispatch key events for:

APPCOMMAND_BASS_BOOST (same as Qt::Key_BassBoost)       'AudioBassBoost'
APPCOMMAND_MIC_ON_OFF_TOGGLE                            'MicToggle'
APPCOMMAND_MICROPHONE_VOLUME_DOWN                       'MicVolumeDown'
APPCOMMAND_MICROPHONE_VOLUME_MUTE                       'MicVolumeMute'
APPCOMMAND_MICROPHONE_VOLUME_UP                         'MicVolumeUp'
APPCOMMAND_TREBLE_DOWN (same as Qt::Key_TrebleDown)     'AudioTrebleDown'
APPCOMMAND_TREBLE_UP (same as Qt::Key_TrebleUp)         'AudioTrebleUp'

##### Comment 3 Masayuki Nakano 2015-07-01 00:13:10 UTC
Additionally, we need to discuss the rules how to define key values of vendor or country specific buttons on remote control.

For example, Japanese TV remote controller typically has "地デジ" ( terrestrial digital broadcasting), "BS" (broadcast satellite broadcasting) and "CS" (communication satellite broadcasting) buttons which are to select type of broadcasting. However, some vendors may have "地デジ", "BS/CS" buttons. The "BS/CS" button toggles BS and CS broadcasting.

Another example, Japanese high-end TVs may have "Time Shift" related buttons. "Time Shift" feature is that TV records whole TV programs into external hard drive(s) and erase old records when the drive(s) doesn't have enough space to record new programs.

##### Comment 4 Masayuki Nakano 2015-07-01 00:15:26 UTC
I mean that like "Launch*", some generic rules are necessary for specific feature buttons.

##### Comment 5 Masayuki Nakano 2015-07-06 07:38:46 UTC
Android defined some new keycode values:

KEYCODE_11
KEYCODE_12 // no _10, but 0 - 9 were defined as numeric keys in PC keyboard :-(
KEYCODE_LAST_CHANNEL
KEYCODE_MEDIA_TOP_MENU
KEYCODE_PAIRING // for BT, remote controller, gamepad
KEYCODE_TV_ANTENNA_CABLE
KEYCODE_TV_AUDIO_DESCRIPTION
KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN
KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP
KEYCODE_TV_CONTENTS_MENU
KEYCODE_TV_DATA_SERVICE
KEYCODE_TV_INPUT_COMPONENT_1
KEYCODE_TV_INPUT_COMPONENT_2
KEYCODE_TV_INPUT_COMPOSITE_1
KEYCODE_TV_INPUT_COMPOSITE_2
KEYCODE_TV_INPUT_HDMI_1
KEYCODE_TV_INPUT_HDMI_2
KEYCODE_TV_INPUT_HDMI_3
KEYCODE_TV_INPUT_HDMI_4
KEYCODE_TV_INPUT_VGA_1
KEYCODE_TV_MEDIA_CONTEXT_MENU
KEYCODE_TV_NETWORK
KEYCODE_TV_NUMBER_ENTRY
KEYCODE_TV_RADIO_SERVICE
KEYCODE_TV_SATELLITE
KEYCODE_TV_SATELLITE_BS
KEYCODE_TV_SATELLITE_CS
KEYCODE_TV_SATELLITE_SERVICE
KEYCODE_TV_TELETEXT
KEYCODE_TV_TERRESTRIAL_ANALOG
KEYCODE_TV_TERRESTRIAL_DIGITAL
KEYCODE_TV_TIMER_PROGRAMMING
KEYCODE_TV_ZOOM_MODE


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/10

Received on Tuesday, 6 October 2015 22:37:28 UTC