Murl::IVirtualMouse Interface Referenceabstract
The virtual mouse device interface. More...
#include "murl_i_virtual_mouse.h"
Inherited by Murl::Input::VirtualMouse.
Public Member Functions | |
virtual Bool | SetRawButtonMapping (IEnums::MouseButton mouseButton, RawButtonCode rawButton)=0 |
Set the mouse button to map for a raw button. More... | |
virtual IEnums::MouseButton | GetRawButtonMapping (RawButtonCode rawButton) const =0 |
Get the mouse button to map for a raw button. More... | |
virtual Bool | SetSensivityX (Real factor)=0 |
Set the sensivity for the x-axis. More... | |
virtual Real | GetSensivityX () const =0 |
Get the sensivity for the x-axis. More... | |
virtual Bool | SetSensivityY (Real factor)=0 |
Set the sensivity for the y-axis. More... | |
virtual Real | GetSensivityY () const =0 |
Get the sensivity for the y-axis. More... | |
Detailed Description
The virtual mouse device interface.
Used by the input device handler to configure the device. Used by the platform to get information of the device.
Member Function Documentation
◆ SetRawButtonMapping()
|
pure virtual |
Set the mouse button to map for a raw button.
The default mapping is (for AppleTV Siri Remote):
- IEnums::MOUSE_BUTTON_LEFT <- RAWBUTTON_SELECT
- IEnums::MOUSE_BUTTON_RIGHT <- RAWBUTTON_MENU
- IEnums::MOUSE_BUTTON_MIDDLE <- RAWBUTTON_PLAY_PAUSE
- Parameters
-
mouseButton The mouse button code. rawButton The raw button code.
- Returns
- true if successful.
◆ GetRawButtonMapping()
|
pure virtual |
Get the mouse button to map for a raw button.
- Parameters
-
rawButton The raw button code.
- Returns
- The mouse button code.
◆ SetSensivityX()
Set the sensivity for the x-axis.
The default value is 1.0
- Parameters
-
factor The sensivity factor for the x-axis
- Returns
- true if successful.
◆ GetSensivityX()
|
pure virtual |
Get the sensivity for the x-axis.
- Returns
- The sensivity factor for the x-axis
◆ SetSensivityY()
Set the sensivity for the y-axis.
The default value is 1.0
- Parameters
-
factor The sensivity factor for the y-axis
- Returns
- true if successful.
◆ GetSensivityY()
|
pure virtual |
Get the sensivity for the y-axis.
- Returns
- The sensivity factor for the y-axis
The documentation for this interface was generated from the following file:
- murl_i_virtual_mouse.h