Bug 21120 - Define TV or A/V remote controller's keys
Define TV or A/V remote controller's keys
Status: NEW
Product: WebAppsWG
Classification: Unclassified
Component: UI Events
unspecified
PC Windows NT
: P2 normal
: ---
Assigned To: Gary Kacmarcik
public-webapps-bugzilla
:
Depends on:
Blocks: 21083
  Show dependency treegraph
 
Reported: 2013-02-26 07:37 UTC by Masayuki Nakano
Modified: 2013-06-19 00:29 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 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'