AntiMicroX
Public Member Functions | Protected Member Functions | Private Member Functions
QtX11KeyMapper Class Reference

#include <qtx11keymapper.h>

Inheritance diagram for QtX11KeyMapper:
[legend]
Collaboration diagram for QtX11KeyMapper:
[legend]

Public Member Functions

 QtX11KeyMapper (QObject *parent=nullptr)
 
- Public Member Functions inherited from QtKeyMapperBase
 QtKeyMapperBase (QObject *parent=nullptr)
 
virtual int returnVirtualKey (int qkey)
 
virtual int returnQtKey (int key, int scancode=0)
 
virtual bool isModifier (int qkey)
 
charKeyInformation getCharKeyInformation (QChar value)
 
QString getIdentifier ()
 Obtain identifier string for key mapper. More...
 

Protected Member Functions

void populateMappingHashes () override
 
void populateCharKeyInformation () override
 

Private Member Functions

void mapMiscKeysQtX11 (QHash< int, int > &qtKeyToVirtKeyHash)
 
void mapCursorMovesKeysQtX11 (QHash< int, int > &qtKeyToVirtKeyHash)
 
void mapModifiersKeysQtX11 (QHash< int, int > &qtKeyToVirtKeyHash)
 
void mapAdditionalKeysQtX11 (QHash< int, int > &qtKeyToVirtKeyHash)
 
void mapKeypadKeysQtX11 (QHash< int, int > &qtKeyToVirtKeyHash)
 
void mapInternationKeysQtX11 (QHash< int, int > &qtKeyToVirtKeyHash)
 
void mapJapanKeysQtX11 (QHash< int, int > &qtKeyToVirtKeyHash)
 
void mapKoreanKeysQtX11 (QHash< int, int > &qtKeyToVirtKeyHash)
 
void mapDeadKeysQtX11 (QHash< int, int > &qtKeyToVirtKeyHash)
 
void mapBrowseKeysQtX11 (QHash< int, int > &qtKeyToVirtKeyHash)
 
void mapMediaKeysQtX11 (QHash< int, int > &qtKeyToVirtKeyHash)
 
void mapLaunchKeysQtX11 (QHash< int, int > &qtKeyToVirtKeyHash)
 

Additional Inherited Members

- Public Types inherited from QtKeyMapperBase
enum  {
  AntKey_Shift_R = Qt::Key_Shift | customQtKeyPrefix, AntKey_Control_R = Qt::Key_Control | customQtKeyPrefix, AntKey_Shift_Lock = 0xffe6 | customKeyPrefix, AntKey_Meta_R = Qt::Key_Meta | customQtKeyPrefix,
  AntKey_Alt_R = Qt::Key_Alt | customQtKeyPrefix, AntKey_KP_Divide = Qt::Key_Slash | customQtKeyPrefix, AntKey_KP_Multiply = Qt::Key_Asterisk | customQtKeyPrefix, AntKey_KP_Subtract = Qt::Key_Minus | customQtKeyPrefix,
  AntKey_KP_Add = Qt::Key_Plus | customQtKeyPrefix, AntKey_KP_Decimal = Qt::Key_Period | customQtKeyPrefix, AntKey_KP_Insert = Qt::Key_Insert | customQtKeyPrefix, AntKey_Delete = Qt::Key_Delete | customQtKeyPrefix,
  AntKey_KP_Delete = 0xff9f | customKeyPrefix, AntKey_KP_End = Qt::Key_End | customQtKeyPrefix, AntKey_KP_Down = Qt::Key_Down | customQtKeyPrefix, AntKey_KP_Prior = Qt::Key_PageUp | customQtKeyPrefix,
  AntKey_KP_Left = Qt::Key_Left | customQtKeyPrefix, AntKey_KP_Begin = Qt::Key_Clear | customQtKeyPrefix, AntKey_KP_Right = Qt::Key_Right | customQtKeyPrefix, AntKey_KP_Home = Qt::Key_Home | customQtKeyPrefix,
  AntKey_KP_Up = Qt::Key_Up | customQtKeyPrefix, AntKey_KP_Next = Qt::Key_PageDown | customQtKeyPrefix, AntKey_KP_Enter = 0xff8d | customKeyPrefix, AntKey_KP_0 = 0xffb0 | customKeyPrefix,
  AntKey_KP_1 = 0xffb1 | customKeyPrefix, AntKey_KP_2 = 0xffb2 | customKeyPrefix, AntKey_KP_3 = 0xffb3 | customKeyPrefix, AntKey_KP_4 = 0xffb4 | customKeyPrefix,
  AntKey_KP_5 = 0xffb5 | customKeyPrefix, AntKey_KP_6 = 0xffb6 | customKeyPrefix, AntKey_KP_7 = 0xffb7 | customKeyPrefix, AntKey_KP_8 = 0xffb8 | customKeyPrefix,
  AntKey_KP_9 = 0xffb9 | customKeyPrefix
}
 
typedef struct QtKeyMapperBase::_charKeyInformation charKeyInformation
 
- Static Public Attributes inherited from QtKeyMapperBase
static const int customQtKeyPrefix = 0x10000000
 
static const int customKeyPrefix = 0x20000000
 
static const int nativeKeyPrefix = 0x60000000
 
- Protected Attributes inherited from QtKeyMapperBase
QHash< int, int > qtKeyToVirtKeyHash
 
QHash< int, int > virtKeyToQtKeyHash
 
QHash< int, charKeyInformationvirtkeyToCharKeyInfo
 
QString identifier
 

Constructor & Destructor Documentation

◆ QtX11KeyMapper()

QtX11KeyMapper::QtX11KeyMapper ( QObject *  parent = nullptr)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ mapAdditionalKeysQtX11()

void QtX11KeyMapper::mapAdditionalKeysQtX11 ( QHash< int, int > &  qtKeyToVirtKeyHash)
private
Here is the caller graph for this function:

◆ mapBrowseKeysQtX11()

void QtX11KeyMapper::mapBrowseKeysQtX11 ( QHash< int, int > &  qtKeyToVirtKeyHash)
private
Here is the caller graph for this function:

◆ mapCursorMovesKeysQtX11()

void QtX11KeyMapper::mapCursorMovesKeysQtX11 ( QHash< int, int > &  qtKeyToVirtKeyHash)
private
Here is the caller graph for this function:

◆ mapDeadKeysQtX11()

void QtX11KeyMapper::mapDeadKeysQtX11 ( QHash< int, int > &  qtKeyToVirtKeyHash)
private
Here is the caller graph for this function:

◆ mapInternationKeysQtX11()

void QtX11KeyMapper::mapInternationKeysQtX11 ( QHash< int, int > &  qtKeyToVirtKeyHash)
private
Here is the caller graph for this function:

◆ mapJapanKeysQtX11()

void QtX11KeyMapper::mapJapanKeysQtX11 ( QHash< int, int > &  qtKeyToVirtKeyHash)
private
Here is the caller graph for this function:

◆ mapKeypadKeysQtX11()

void QtX11KeyMapper::mapKeypadKeysQtX11 ( QHash< int, int > &  qtKeyToVirtKeyHash)
private
Here is the caller graph for this function:

◆ mapKoreanKeysQtX11()

void QtX11KeyMapper::mapKoreanKeysQtX11 ( QHash< int, int > &  qtKeyToVirtKeyHash)
private
Here is the caller graph for this function:

◆ mapLaunchKeysQtX11()

void QtX11KeyMapper::mapLaunchKeysQtX11 ( QHash< int, int > &  qtKeyToVirtKeyHash)
private
Here is the caller graph for this function:

◆ mapMediaKeysQtX11()

void QtX11KeyMapper::mapMediaKeysQtX11 ( QHash< int, int > &  qtKeyToVirtKeyHash)
private
Here is the caller graph for this function:

◆ mapMiscKeysQtX11()

void QtX11KeyMapper::mapMiscKeysQtX11 ( QHash< int, int > &  qtKeyToVirtKeyHash)
private
Here is the caller graph for this function:

◆ mapModifiersKeysQtX11()

void QtX11KeyMapper::mapModifiersKeysQtX11 ( QHash< int, int > &  qtKeyToVirtKeyHash)
private
Here is the caller graph for this function:

◆ populateCharKeyInformation()

void QtX11KeyMapper::populateCharKeyInformation ( )
overrideprotectedvirtual

Implements QtKeyMapperBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ populateMappingHashes()

void QtX11KeyMapper::populateMappingHashes ( )
overrideprotectedvirtual

Implements QtKeyMapperBase.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: