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()
|
inline |
Constructor taking initialization values.
- Parameters
-
povIndex The pov index to read the raw pov value from. rangeStart The pov raw data range start value (excluding). rangeEnd The pov raw data range end value (excluding). destinationButton The destination button to post if the raw pov value is in range.
Member Function Documentation
◆ operator==()
|
inline |
The "equal to" comparison operator.
- Parameters
-
rhs The 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!=()
|
inline |
The "not equal to" comparison operator.
- Parameters
-
rhs The 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