Support mapping QKeyEvent to xkb_keysym_t
ClosedPublic

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

Details

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.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin created this revision.Aug 16 2017, 7:21 PM
Restricted Application added a project: KWin. · View Herald TranscriptAug 16 2017, 7:21 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
This revision was automatically updated to reflect the committed changes.