diff options
author | Rainer Keller <rainer.keller@digia.com> | 2014-07-31 10:16:01 +0200 |
---|---|---|
committer | Rainer Keller <rainer.keller@digia.com> | 2014-07-31 14:24:01 +0200 |
commit | c0429719c1a28bb1a0d88862b3a8c84525ee9a48 (patch) | |
tree | 293662e8ccc279b9498a99e1528e2ad53b13867c | |
parent | ef5fb6ead50ca4423c2a1fca8b75fa571adcd00d (diff) |
Add missing power button keycode to keymap
Change-Id: I03682716aaea8344ebb5b71dcea5fe18babcd610
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
-rw-r--r-- | src/platformsupport/input/evdevkeyboard/qevdevkeyboard_defaultmap_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platformsupport/input/evdevkeyboard/qevdevkeyboard_defaultmap_p.h b/src/platformsupport/input/evdevkeyboard/qevdevkeyboard_defaultmap_p.h index 3f656668aa..5e919ebeb7 100644 --- a/src/platformsupport/input/evdevkeyboard/qevdevkeyboard_defaultmap_p.h +++ b/src/platformsupport/input/evdevkeyboard/qevdevkeyboard_defaultmap_p.h @@ -639,6 +639,7 @@ const QEvdevKeyboardMap::Mapping QEvdevKeyboardHandler::s_keymap_default[] = { { KEY_MUTE, 0xffff, Qt::Key_VolumeMute, 0x00, 0x00, 0x0000 }, { KEY_VOLUMEDOWN, 0xffff, Qt::Key_VolumeDown, 0x00, 0x00, 0x0000 }, { KEY_VOLUMEUP, 0xffff, Qt::Key_VolumeUp, 0x00, 0x00, 0x0000 }, + { KEY_POWER, 0xffff, Qt::Key_PowerOff, 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 }, |