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.