◆ OnButtonPress()
bool CDefaultMouseHandling::OnButtonPress |
( |
BUTTON_ID |
button | ) |
|
|
overridevirtual |
A mouse button has been pressed.
- Parameters
-
button | The index of the pressed button |
- Returns
- True if the event was handled, otherwise false
Implements KODI::MOUSE::IMouseDriverHandler.
◆ OnButtonRelease()
void CDefaultMouseHandling::OnButtonRelease |
( |
BUTTON_ID |
button | ) |
|
|
overridevirtual |
◆ OnPosition()
bool CDefaultMouseHandling::OnPosition |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
overridevirtual |
Handle mouse position updates.
- Parameters
-
x | The new x coordinate of the pointer |
y | The new y coordinate of the pointer |
The mouse uses a left-handed (graphics) cartesian coordinate system. Positive X is right, positive Y is down.
- Returns
- True if the event was handled, false otherwise
Implements KODI::MOUSE::IMouseDriverHandler.
The documentation for this class was generated from the following files: