Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CInputDeviceXLib Class Reference
Inheritance diagram for CInputDeviceXLib:
CInputDevice

Public Member Functions

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)
 

Private Member Functions

KeyCode XkbKeysymToKeycode (Display *dpy, KeySym keysym)
 

Private Attributes

const unsigned short * codeMap
 
unsigned codeMapLen
 
std::map< KeySym, KeyCode > pressedKeys
 
bool rawKeyboard
 

Additional Inherited Members

- Public Types inherited from CInputDevice
enum  MouseButton {
  LeftButton = 0x01 , RightButton = 0x02 , MiddleButton = 0x04 , LWheelButton = 0x08 ,
  RWheelButton = 0x10 , UWheelButton = 0x20 , DWheelButton = 0x40
}
 
- Static Public Member Functions inherited from CInputDevice
static QSharedPointer< CInputDeviceGenerateObject ()
 
- Protected Attributes inherited from CInputDevice
MouseButtons m_LastButtons
 
QPoint m_LastPostion
 

Detailed Description

Definition at line 10 of file InputDeviceXLib.h.

Constructor & Destructor Documentation

◆ CInputDeviceXLib()

CInputDeviceXLib::CInputDeviceXLib ( )
explicit

Definition at line 21 of file InputDeviceXLib.cpp.

◆ ~CInputDeviceXLib()

CInputDeviceXLib::~CInputDeviceXLib ( )
virtual

Definition at line 26 of file InputDeviceXLib.cpp.

Member Function Documentation

◆ KeyEvent()

int CInputDeviceXLib::KeyEvent ( quint32  keysym,
quint32  keycode,
bool  down = true 
)
virtual

Implements CInputDevice.

Definition at line 71 of file InputDeviceXLib.cpp.

◆ MouseEvent() [1/2]

int CInputDeviceXLib::MouseEvent ( MouseButtons  buttons,
int  x,
int  y 
)
virtual

Implements CInputDevice.

Definition at line 244 of file InputDeviceXLib.cpp.

◆ MouseEvent() [2/2]

int CInputDeviceXLib::MouseEvent ( MouseButtons  buttons,
QPoint  pos 
)
virtual

Implements CInputDevice.

Definition at line 192 of file InputDeviceXLib.cpp.

Member Data Documentation

◆ codeMap

const unsigned short* CInputDeviceXLib::codeMap
private

Definition at line 22 of file InputDeviceXLib.h.

◆ codeMapLen

unsigned CInputDeviceXLib::codeMapLen
private

Definition at line 23 of file InputDeviceXLib.h.

◆ pressedKeys

std::map<KeySym, KeyCode> CInputDeviceXLib::pressedKeys
private

Definition at line 24 of file InputDeviceXLib.h.

◆ rawKeyboard

bool CInputDeviceXLib::rawKeyboard
private

Definition at line 29 of file InputDeviceXLib.h.


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