Rabbit Remote Control 0.1.0-bate14
Loading...
Searching...
No Matches
CInputDevice Class Referenceabstract
Inheritance diagram for CInputDevice:

Public Types

enum  MouseButton {
  LeftButton = 0x01 , RightButton = 0x02 , MiddleButton = 0x04 , LWheelButton = 0x08 ,
  RWheelButton = 0x10 , UWheelButton = 0x20 , DWheelButton = 0x40
}

Public Member Functions

virtual int KeyEvent (quint32 keysym, quint32 keycode, bool down=true)=0
virtual int MouseEvent (MouseButtons buttons, QPoint pos)=0
virtual int MouseEvent (MouseButtons buttons, int x, int y)=0

Static Public Member Functions

static QSharedPointer< CInputDeviceGenerateObject ()

Protected Attributes

MouseButtons m_LastButtons
QPoint m_LastPostion

Detailed Description

Definition at line 11 of file InputDevice.h.

Member Enumeration Documentation

◆ MouseButton

enum CInputDevice::MouseButton

Definition at line 16 of file InputDevice.h.

Constructor & Destructor Documentation

◆ CInputDevice()

CInputDevice::CInputDevice ( )
inlineexplicitprotected

Definition at line 37 of file InputDevice.h.

Member Function Documentation

◆ GenerateObject()

QSharedPointer< CInputDevice > CInputDevice::GenerateObject ( )
static

Definition at line 11 of file InputDeviceWindows.cpp.

Member Data Documentation

◆ m_LastButtons

MouseButtons CInputDevice::m_LastButtons
protected

Definition at line 34 of file InputDevice.h.

◆ m_LastPostion

QPoint CInputDevice::m_LastPostion
protected

Definition at line 35 of file InputDevice.h.


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