diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2013-07-22 19:24:49 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-02 10:29:27 +0100 |
commit | 68974f31ff12b04580a1d18a56994212d9af56a9 (patch) | |
tree | 93b2e40dee224ab207377c865ea92fb7d2563a42 /src/platformsupport/input/evdevkeyboard/qevdevkeyboard_defaultmap_p.h | |
parent | 6c4c2b752c49e248d68a37873d45c60ff80323cd (diff) |
Extend multimedia keys
Extends the Qt keycodes with four missing keys, common on remote controls:
Guide, Info, Settings and Exit.
Change-Id: I6789f13dbb662da4261a3c947757644e12306dd9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Diffstat (limited to 'src/platformsupport/input/evdevkeyboard/qevdevkeyboard_defaultmap_p.h')
-rw-r--r-- | src/platformsupport/input/evdevkeyboard/qevdevkeyboard_defaultmap_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/platformsupport/input/evdevkeyboard/qevdevkeyboard_defaultmap_p.h b/src/platformsupport/input/evdevkeyboard/qevdevkeyboard_defaultmap_p.h index 225b3d41ef..3f656668aa 100644 --- a/src/platformsupport/input/evdevkeyboard/qevdevkeyboard_defaultmap_p.h +++ b/src/platformsupport/input/evdevkeyboard/qevdevkeyboard_defaultmap_p.h @@ -641,6 +641,7 @@ const QEvdevKeyboardMap::Mapping QEvdevKeyboardHandler::s_keymap_default[] = { { KEY_VOLUMEUP, 0xffff, Qt::Key_VolumeUp, 0x00, 0x00, 0x0000 }, { KEY_PAUSE, 0xffff, Qt::Key_Pause, 0x00, 0x00, 0x0000 }, { KEY_STOP, 0xffff, Qt::Key_Stop, 0x00, 0x00, 0x0000 }, + { KEY_SETUP, 0xffff, Qt::Key_Settings, 0x00, 0x00, 0x0000 }, { KEY_RECORD, 0xffff, Qt::Key_MediaRecord, 0x00, 0x00, 0x0000 }, { KEY_REWIND, 0xffff, Qt::Key_AudioRewind, 0x00, 0x00, 0x0000 }, { KEY_PLAYPAUSE, 0xffff, Qt::Key_MediaTogglePlayPause, 0x00, 0x00, 0x0000 }, @@ -651,6 +652,9 @@ const QEvdevKeyboardMap::Mapping QEvdevKeyboardHandler::s_keymap_default[] = { // 0x160 -> { KEY_SELECT, 0xffff, Qt::Key_Select, 0x00, 0x00, 0x0000 }, { KEY_CLEAR, 0xffff, Qt::Key_Clear, 0x00, 0x00, 0x0000 }, + { KEY_EXIT, 0xffff, Qt::Key_Exit, 0x00, 0x00, 0x0000 }, + { KEY_INFO, 0xffff, Qt::Key_Info, 0x00, 0x00, 0x0000 }, + { KEY_PROGRAM, 0xffff, Qt::Key_Guide, 0x00, 0x00, 0x0000 }, { KEY_CALENDAR, 0xffff, Qt::Key_Calendar, 0x00, 0x00, 0x0000 }, { KEY_RED, 0xffff, Qt::Key_Red, 0x00, 0x00, 0x0000 }, { KEY_GREEN, 0xffff, Qt::Key_Green, 0x00, 0x00, 0x0000 }, |