Diffusion KWin a17c85a9eab5

Support mapping QKeyEvent to xkb_keysym_t

Authored by graesslin on Aug 16 2017, 7:18 PM.

Description

Support mapping QKeyEvent to xkb_keysym_t

Summary:
This is needed in virtual keyboard and also used KKeyServer so far. With
this change it is moved to new API provided in Xkb. The new translation
map is now also used for the direction from Qt::Key +
Qt::KeyboardModifier to xkb_keysym_t.

New implementation is supported by a new test case covering the same
combinations as in the existing direction.

Reviewers: KWin, Plasma

Subscribers: plasma-devel, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D7356

Details

Committed
graesslinSep 19 2017, 5:09 PM
Differential Revision
D7356: Support mapping QKeyEvent to xkb_keysym_t
Parents
R108:0eba3f3c18c2: Fix TouchEvent::id() returning -1, fixes a crash
Branches
Unknown
Tags
Unknown