nCine::Backends::Qt5Keys class

Utility functions to convert between engine key enumerations and Qt5 ones.

Public static functions

static auto KeySymValueToEnum(int keysym) -> Keys
Maps a Qt5 key symbol to the matching engine Keys value.
static auto KeyModMaskToEnumMask(Qt::KeyboardModifiers keymod) -> int
Maps Qt5 keyboard modifier flags to the engine modifier mask.