|
kodi
|
Handles mouse events for game agent functionality. More...
#include <AgentMouse.h>


Public Member Functions | |
| CAgentMouse (PERIPHERALS::PeripheralPtr peripheral) | |
| void | Initialize () |
| void | Deinitialize () |
| void | ClearButtonState () |
| float | GetActivation () const |
| ControllerPtr | Appearance () const |
| std::string | ControllerID () const override |
| The controller profile for this mouse input handler. More... | |
| bool | OnMotion (const MOUSE::PointerName &relpointer, int differenceX, int differenceY) override |
| A relative pointer has moved. More... | |
| bool | OnButtonPress (const MOUSE::ButtonName &button) override |
| A mouse button has been pressed. More... | |
| void | OnButtonRelease (const MOUSE::ButtonName &button) override |
| A mouse button has been released. More... | |
| void | OnInputFrame () override |
| Called at the end of the frame that provided input. More... | |
Handles mouse events for game agent functionality.
|
overridevirtual |
The controller profile for this mouse input handler.
Implements KODI::MOUSE::IMouseInputHandler.
|
overridevirtual |
A mouse button has been pressed.
| button | The name of the feature being pressed |
Implements KODI::MOUSE::IMouseInputHandler.
|
overridevirtual |
A mouse button has been released.
| button | The name of the feature being released |
Implements KODI::MOUSE::IMouseInputHandler.
|
overridevirtual |
Called at the end of the frame that provided input.
This can be as a result of a pointer update, a button press, or a button release. All three events will result in a call to OnInputFrame().
Implements KODI::MOUSE::IMouseInputHandler.
|
overridevirtual |
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.
Implements KODI::MOUSE::IMouseInputHandler.
1.8.13