Murl::IRawMouse Interface Referenceabstract

The raw-mouse device interface. More...

#include "murl_i_raw_mouse.h"

Inherited by Murl::Input::RawMouseDevice.

Public Types

enum  EventAction { EVENT_ACTION_NONE , EVENT_ACTION_MOUSE , EVENT_ACTION_WHEEL , NUM_EVENT_ACTIONS }
 Definition of event actions. More...
 

Public Member Functions

virtual void PostEvent (EventAction action, SInt32 deltaX, SInt32 deltaY)=0
 Post the current mouse state. More...
 

Detailed Description

The raw-mouse device interface.

Used by the platform to post events to the device.

Member Enumeration Documentation

◆ EventAction

Definition of event actions.

Enumerator
EVENT_ACTION_NONE 

No action.

EVENT_ACTION_MOUSE 

Mouse position axis values.

EVENT_ACTION_WHEEL 

Mouse wheel axis values.

Member Function Documentation

◆ PostEvent()

virtual void Murl::IRawMouse::PostEvent ( EventAction  action,
SInt32  deltaX,
SInt32  deltaY 
)
pure virtual

Post the current mouse state.

Parameters
actionThe event action, see enum EventAction.
deltaXThe mouse x-axis delta values.
deltaYThe mouse y-axis delta values.

The documentation for this interface was generated from the following file:
  • murl_i_raw_mouse.h


Copyright © 2011-2024 Spraylight GmbH.