The raw axis mapping. More...
#include "murl_i_game_controller_mapping.h"
Public Member Functions | |
AxisMapping () | |
The default constructor. | |
AxisMapping (AxisType axisType, Float rangeStart, Float rangeEnd, AxisEvent destinationEvent) | |
Constructor taking initialization values. More... | |
bool | operator== (const AxisMapping &rhs) const |
The "equal to" comparison operator. More... | |
bool | operator!= (const AxisMapping &rhs) const |
The "not equal to" comparison operator. More... | |
Public Attributes | |
AxisType | mAxisType |
The axis type to read the raw value from. | |
Float | mRangeStart |
The axis raw data range start value. More... | |
Float | mRangeEnd |
The axis raw data range end value. More... | |
AxisEvent | mDestinationEvent |
The destination axis event to post the scaled axis value. | |
Detailed Description
The raw axis mapping.
Describes how to map the axis raw data to a game controller axis event.
Constructor & Destructor Documentation
◆ AxisMapping()
|
inline |
Constructor taking initialization values.
- Parameters
-
axisType The axis type to read the raw value from. rangeStart The axis raw data range start value. Represents the raw data value for the lowest destination value. rangeEnd The axis raw data range end value. Represents the raw data value for the highest destination value. destinationEvent The destination axis event to post the scaled axis value.
Member Function Documentation
◆ operator==()
|
inline |
The "equal to" comparison operator.
- Parameters
-
rhs The right hand side raw axis mapping to compare.
- Returns
- true if all members are exactly the same.
References mAxisType, mDestinationEvent, mRangeEnd, and mRangeStart.
◆ operator!=()
|
inline |
The "not equal to" comparison operator.
- Parameters
-
rhs The right hand side raw axis mapping to compare.
- Returns
- true if the objects differ.
References mAxisType, mDestinationEvent, mRangeEnd, and mRangeStart.
Member Data Documentation
◆ mRangeStart
Float Murl::IGameControllerMapping::AxisMapping::mRangeStart |
The axis raw data range start value.
Represents the raw data value for the lowest destination value.
Referenced by operator!=(), and operator==().
◆ mRangeEnd
Float Murl::IGameControllerMapping::AxisMapping::mRangeEnd |
The axis raw data range end value.
Represents the raw data value for the highest destination value.
Referenced by operator!=(), and operator==().
The documentation for this class was generated from the following file:
- murl_i_game_controller_mapping.h