|
| virtual int | KeyEvent (quint32 keysym, quint32 keycode, bool down=true) |
| |
| virtual int | MouseEvent (MouseButtons buttons, QPoint pos) |
| |
| virtual int | MouseEvent (MouseButtons buttons, int x, int y) |
| |
|
|
KeyCode | XkbKeysymToKeycode (Display *dpy, KeySym keysym) |
| |
|
| enum | MouseButton {
LeftButton = 0x01
, RightButton = 0x02
, MiddleButton = 0x04
, LWheelButton = 0x08
,
RWheelButton = 0x10
, UWheelButton = 0x20
, DWheelButton = 0x40
} |
| |
| static QSharedPointer< CInputDevice > | GenerateObject () |
| |
| MouseButtons | m_LastButtons |
| |
| QPoint | m_LastPostion |
| |
◆ CInputDeviceXLib()
| CInputDeviceXLib::CInputDeviceXLib |
( |
| ) |
|
|
explicit |
◆ ~CInputDeviceXLib()
| CInputDeviceXLib::~CInputDeviceXLib |
( |
| ) |
|
|
virtual |
◆ KeyEvent()
| int CInputDeviceXLib::KeyEvent |
( |
quint32 |
keysym, |
|
|
quint32 |
keycode, |
|
|
bool |
down = true |
|
) |
| |
|
virtual |
◆ MouseEvent() [1/2]
| int CInputDeviceXLib::MouseEvent |
( |
MouseButtons |
buttons, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
|
virtual |
◆ MouseEvent() [2/2]
| int CInputDeviceXLib::MouseEvent |
( |
MouseButtons |
buttons, |
|
|
QPoint |
pos |
|
) |
| |
|
virtual |
◆ codeMap
| const unsigned short* CInputDeviceXLib::codeMap |
|
private |
◆ codeMapLen
| unsigned CInputDeviceXLib::codeMapLen |
|
private |
◆ pressedKeys
| std::map<KeySym, KeyCode> CInputDeviceXLib::pressedKeys |
|
private |
◆ rawKeyboard
| bool CInputDeviceXLib::rawKeyboard |
|
private |
该类的文档由以下文件生成: