mirror of
https://github.com/AntiMicroX/antimicrox.git
synced 2026-08-01 01:56:50 -04:00
23 lines
535 B
C++
23 lines
535 B
C++
#include "qtkeymapperbase.h"
|
|
|
|
const unsigned int QtKeyMapperBase::customQtKeyPrefix;
|
|
const unsigned int QtKeyMapperBase::customKeyPrefix;
|
|
const unsigned int QtKeyMapperBase::nativeKeyPrefix;
|
|
|
|
QtKeyMapperBase::QtKeyMapperBase(QObject *parent) :
|
|
QObject(parent)
|
|
{
|
|
}
|
|
|
|
unsigned int QtKeyMapperBase::returnQtKey(unsigned int key, unsigned int scancode)
|
|
{
|
|
Q_UNUSED(scancode);
|
|
|
|
return virtualKeyToQtKey.value(key);
|
|
}
|
|
|
|
unsigned int QtKeyMapperBase::returnVirtualKey(unsigned int qkey)
|
|
{
|
|
return qtKeyToVirtualKey.value(qkey);
|
|
}
|