Skip to content

Commit

Permalink
Merge branch 'mer-5.4' into 'mer-5.4'
Browse files Browse the repository at this point in the history
[qtwayland] Map Select, Back and Menu keys. Contributes to JB#39965

See merge request !9
  • Loading branch information
jpetrell committed Oct 11, 2017
2 parents 7d06a8b + 931f488 commit 8d50a65
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/shared/qwaylandxkb.cpp
Expand Up @@ -67,6 +67,7 @@ static const uint32_t KeyTbl[] = {
XKB_KEY_Up, Qt::Key_Up,
XKB_KEY_Right, Qt::Key_Right,
XKB_KEY_Down, Qt::Key_Down,
XKB_KEY_Select, Qt::Key_Select,
XKB_KEY_Prior, Qt::Key_PageUp,
XKB_KEY_Next, Qt::Key_PageDown,

Expand Down Expand Up @@ -134,6 +135,8 @@ static const uint32_t KeyTbl[] = {
XKB_KEY_XF86AudioMute, Qt::Key_VolumeMute,

XKB_KEY_XF86Phone, Qt::Key_ToggleCallHangup,
XKB_KEY_XF86Back, Qt::Key_Back,
XKB_KEY_XF86MenuKB, Qt::Key_MenuKB,

// Hack: there are no directly suitable xkbcommon keycodes to use for camera + camera focus
// so mapping camera hardware keys into these in xkeyboard-config and then back to
Expand Down

0 comments on commit 8d50a65

Please sign in to comment.