add audio pause mapping in xkb_qt_mapping.
This commit is contained in:
parent
afc77c82f3
commit
d1e9a4a46b
2 changed files with 2 additions and 0 deletions
|
@ -128,6 +128,7 @@ static const TransKey g_rgQtToSymX[] = {
|
|||
{ Qt::Key_VolumeMute, XKB_KEY_XF86AudioMute, Qt::KeyboardModifiers() },
|
||||
{ Qt::Key_VolumeUp, XKB_KEY_XF86AudioRaiseVolume, Qt::KeyboardModifiers() },
|
||||
{ Qt::Key_MediaPlay, XKB_KEY_XF86AudioPlay, Qt::KeyboardModifiers() },
|
||||
{ Qt::Key_MediaPause, XKB_KEY_XF86AudioPause, Qt::KeyboardModifiers() },
|
||||
{ Qt::Key_MediaStop, XKB_KEY_XF86AudioStop, Qt::KeyboardModifiers() },
|
||||
{ Qt::Key_MediaPrevious, XKB_KEY_XF86AudioPrev, Qt::KeyboardModifiers() },
|
||||
{ Qt::Key_MediaNext, XKB_KEY_XF86AudioNext, Qt::KeyboardModifiers() },
|
||||
|
|
|
@ -116,6 +116,7 @@ static const std::map<xkb_keysym_t, Qt::Key> s_mapping{
|
|||
{ XKB_KEY_XF86AudioMute, Qt::Key_VolumeMute },
|
||||
{ XKB_KEY_XF86AudioRaiseVolume, Qt::Key_VolumeUp },
|
||||
{ XKB_KEY_XF86AudioPlay, Qt::Key_MediaPlay },
|
||||
{ XKB_KEY_XF86AudioPause, Qt::Key_MediaPause },
|
||||
{ XKB_KEY_XF86AudioStop, Qt::Key_MediaStop },
|
||||
{ XKB_KEY_XF86AudioPrev, Qt::Key_MediaPrevious },
|
||||
{ XKB_KEY_XF86AudioNext, Qt::Key_MediaNext },
|
||||
|
|
Loading…
Reference in a new issue