Murl::IGameControllerMapping::ButtonMapping Class Reference
The button mapping. More...
#include "murl_i_game_controller_mapping.h"
Public Member Functions | |
ButtonMapping () | |
The default constructor. | |
ButtonMapping (UInt32 buttonIndex, IEnums::GameControllerButton destinationButton) | |
Constructor taking initialization values. More... | |
bool | operator== (const ButtonMapping &rhs) const |
The "equal to" comparison operator. More... | |
bool | operator!= (const ButtonMapping &rhs) const |
The "not equal to" comparison operator. More... | |
Public Attributes | |
UInt32 | mButtonIndex |
The button index to read the raw button value from. | |
IEnums::GameControllerButton | mDestinationButton |
The destination button to post the button state. | |
Detailed Description
The button mapping.
Describes how to map the button raw data to a game controller button.
Constructor & Destructor Documentation
◆ ButtonMapping()
|
inline |
Constructor taking initialization values.
- Parameters
-
buttonIndex The button index to read the raw button value from. destinationButton The destination button to post the button state.
Member Function Documentation
◆ operator==()
|
inline |
The "equal to" comparison operator.
- Parameters
-
rhs The right hand side button mapping to compare.
- Returns
- true if all members are exactly the same.
References mButtonIndex, and mDestinationButton.
◆ operator!=()
|
inline |
The "not equal to" comparison operator.
- Parameters
-
rhs The right hand side button mapping to compare.
- Returns
- true if the objects differ.
References mButtonIndex, and mDestinationButton.
The documentation for this class was generated from the following file:
- murl_i_game_controller_mapping.h