#include <GUIInputUnixMouse.h>
|
static void | CreateInstance (const char *cpcMDevice, const eC_Int &iMouseMaxPosX=0, const eC_Int &iMouseMaxPosY=0, const eC_Bool &bInvertYAxis=false) |
|
static void | DeleteInstance () |
|
|
enum | Rotation_t { ROTATION_0
, ROTATION_90
, ROTATION_180
, ROTATION_270
} |
| rotation of input-device
|
|
eC_Bool | m_bDebugMode |
| debug-mode for input-device
|
|
eC_Bool | m_bStopIdle |
| stop idle when waiting for events
|
|
Rotation_t | m_eRotation |
| current rotation used for input-device
|
|
eC_Int | m_iOffsetX |
| x-offset
|
|
eC_Int | m_iOffsetY |
| y-offset
|
|
eC_Int | m_iSizeX |
| width
|
|
eC_Int | m_iSizeY |
| height
|
|
eC_UInt | m_uiSleepInterval |
| sleep interval
|
|
Mouse Input implementation for Unix based targets without support for SDL.
- Deprecated:
- This is a provisional implementation in alpha-state and will be removed. Use CGUIInputSDL instead.
◆ CGUIInputUnixMouse()
CGUIInputUnixMouse::CGUIInputUnixMouse |
( |
const char * |
cpcMDevice, |
|
|
const eC_Int & |
iMouseMaxPosX, |
|
|
const eC_Int & |
iMouseMaxPosY, |
|
|
const eC_Bool & |
bInvertYAxis |
|
) |
| |
|
protected |
constructor
- Parameters
-
cpcMDevice | |
iMouseMaxPosX | |
iMouseMaxPosY | |
bInvertYAxis | |
◆ CreateInstance()
static void CGUIInputUnixMouse::CreateInstance |
( |
const char * |
cpcMDevice, |
|
|
const eC_Int & |
iMouseMaxPosX = 0 , |
|
|
const eC_Int & |
iMouseMaxPosY = 0 , |
|
|
const eC_Bool & |
bInvertYAxis = false |
|
) |
| |
|
static |
Create a instance of this input wrapper
- Parameters
-
cpcMDevice | device |
iMouseMaxPosX | |
iMouseMaxPosY | |
bInvertYAxis | |
◆ GetEvent()
CGUIEvent * CGUIInputUnixMouse::GetEvent |
( |
eC_UInt |
uiIdleTime | ) |
|
|
virtual |
◆ GetEventQueue()
get the event queue
- Returns
- queue
◆ GetInputEventCond()
pthread_cond_t * CGUIInputUnixMouse::GetInputEventCond |
( |
| ) |
|
get the condition variable
- Returns
- condition
◆ LockSemaphore()
void CGUIInputUnixMouse::LockSemaphore |
( |
| ) |
|
◆ SetSize()
virtual void CGUIInputUnixMouse::SetSize |
( |
const eC_Int & |
iSizeX, |
|
|
const eC_Int & |
iSizeY |
|
) |
| |
|
virtual |
set the size for the input-device
- Parameters
-
Reimplemented from CGUIInputMedia.
◆ StopIdle()
void CGUIInputUnixMouse::StopIdle |
( |
| ) |
|
|
virtual |
Forces the input media to quit idling immediately. Called by the framework if the input media is requested to stop idling immediately. Classes derived from GUIInputMedia should implement StopIdle in such a way, that it interrupts any idling/sleeping code in GetEvent(). virtual is needed if sub-classes need to do extra stuff
Reimplemented from CGUIInputMedia.
◆ UnlockSemaphore()
void CGUIInputUnixMouse::UnlockSemaphore |
( |
| ) |
|
The documentation for this class was generated from the following file: