Murl::IGameControllerMapping::PovMapping Class Reference

The point of view mapping. More...

#include "murl_i_game_controller_mapping.h"

Public Member Functions

 PovMapping ()
 The default constructor.
 
 PovMapping (UInt32 povIndex, Float rangeStart, Float rangeEnd, IEnums::GameControllerButton destinationButton)
 Constructor taking initialization values. More...
 
bool operator== (const PovMapping &rhs) const
 The "equal to" comparison operator. More...
 
bool operator!= (const PovMapping &rhs) const
 The "not equal to" comparison operator. More...
 

Public Attributes

UInt32 mPovIndex
 The pov index to read the raw pov value from.
 
Float mRangeStart
 The pov raw data range start value (excluding).
 
Float mRangeEnd
 The pov raw data range end value (excluding).
 
IEnums::GameControllerButton mDestinationButton
 The destination button to post if the raw pov value is in range.
 

Detailed Description

The point of view mapping.

Describes how to map the pov raw data to a game controller button.

Constructor & Destructor Documentation

◆ PovMapping()

Murl::IGameControllerMapping::PovMapping::PovMapping ( UInt32  povIndex,
Float  rangeStart,
Float  rangeEnd,
IEnums::GameControllerButton  destinationButton 
)
inline

Constructor taking initialization values.

Parameters
povIndexThe pov index to read the raw pov value from.
rangeStartThe pov raw data range start value (excluding).
rangeEndThe pov raw data range end value (excluding).
destinationButtonThe destination button to post if the raw pov value is in range.

Member Function Documentation

◆ operator==()

bool Murl::IGameControllerMapping::PovMapping::operator== ( const PovMapping rhs) const
inline

The "equal to" comparison operator.

Parameters
rhsThe right hand side point of view mapping to compare.
Returns
true if all members are exactly the same.

References mDestinationButton, mPovIndex, mRangeEnd, and mRangeStart.

◆ operator!=()

bool Murl::IGameControllerMapping::PovMapping::operator!= ( const PovMapping rhs) const
inline

The "not equal to" comparison operator.

Parameters
rhsThe right hand side point of view mapping to compare.
Returns
true if the objects differ.

References mDestinationButton, mPovIndex, mRangeEnd, and mRangeStart.


The documentation for this class was generated from the following file:
  • murl_i_game_controller_mapping.h


Copyright © 2011-2018 Spraylight GmbH.