![]() |
Murl Engine API
Version 2025.1
|
The button mapping. More...
#include <murl_i_game_controller_mapping.h>
The button mapping.
Describes how to map the button raw data to a game controller button.
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. | |
|
inline |
Constructor taking initialization values.
| buttonIndex | The button index to read the raw button value from. |
| destinationButton | The destination button to post the button state. |
|
inline |
The "equal to" comparison operator.
| rhs | The right hand side button mapping to compare. |
|
inline |
The "not equal to" comparison operator.
| rhs | The right hand side button mapping to compare. |