xbmc
|
Interface for handling mouse events. More...
#include <IMouseInputHandler.h>
Public Member Functions | |
virtual std::string | ControllerID (void) const =0 |
The controller profile for this mouse input handler. More... | |
virtual bool | OnMotion (const PointerName &relpointer, int dx, int dy)=0 |
A relative pointer has moved. More... | |
virtual bool | OnButtonPress (const ButtonName &button)=0 |
A mouse button has been pressed. More... | |
virtual void | OnButtonRelease (const ButtonName &button)=0 |
A mouse button has been released. More... | |
Interface for handling mouse events.
|
pure virtual |
The controller profile for this mouse input handler.
Implemented in KODI::GAME::CGameClientMouse.
|
pure virtual |
A mouse button has been pressed.
button | The name of the feature being pressed |
Implemented in KODI::GAME::CGameClientMouse.
|
pure virtual |
A mouse button has been released.
button | The name of the feature being released |
Implemented in KODI::GAME::CGameClientMouse.
|
pure virtual |
A relative pointer has moved.
relpointer | The name of the relative pointer being moved |
dx | The relative x coordinate of motion |
dy | The relative y coordinate of motion |
The mouse uses a left-handed (graphics) cartesian coordinate system. Positive X is right, positive Y is down.
Implemented in KODI::GAME::CGameClientMouse.