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()

virtual Bool Murl::IVirtualMouse::SetRawButtonMapping ( IEnums::MouseButton  mouseButton,
RawButtonCode  rawButton 
)
pure virtual

Set the mouse button to map for a raw button.

The default mapping is (for AppleTV Siri Remote):

◆ GetRawButtonMapping()

virtual IEnums::MouseButton Murl::IVirtualMouse::GetRawButtonMapping ( RawButtonCode  rawButton) const
pure virtual

Get the mouse button to map for a raw button.

Parameters
rawButtonThe raw button code.
Returns
The mouse button code.

◆ SetSensivityX()

virtual Bool Murl::IVirtualMouse::SetSensivityX ( Real  factor)
pure virtual

Set the sensivity for the x-axis.

The default value is 1.0

Parameters
factorThe sensivity factor for the x-axis
Returns
true if successful.

◆ GetSensivityX()

virtual Real Murl::IVirtualMouse::GetSensivityX ( ) const
pure virtual

Get the sensivity for the x-axis.

Returns
The sensivity factor for the x-axis

◆ SetSensivityY()

virtual Bool Murl::IVirtualMouse::SetSensivityY ( Real  factor)
pure virtual

Set the sensivity for the y-axis.

The default value is 1.0

Parameters
factorThe sensivity factor for the y-axis
Returns
true if successful.

◆ GetSensivityY()

virtual Real Murl::IVirtualMouse::GetSensivityY ( ) const
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


Copyright © 2011-2018 Spraylight GmbH.