|
|
| MF_API const char* MFInput_EnumerateString |
( |
int |
button, |
|
|
int |
device, |
|
|
int |
deviceID = 0, |
|
|
bool |
includeDevice = false, |
|
|
bool |
includeDeviceID = false |
|
) |
| |
Generate a string representing the input button/device configuration.
- Parameters
-
| button | The button or control on the device. Must be a member of the MFGamepadButton, MFMouseButton or MFKeyboardButton enumerated types. |
| device | The device to read the name from. Must be a member of the MFInputDevice enumerated type. |
| deviceID | The device index. |
| includeDevice | If true, the device name is included in the generated string. |
| includeDeviceID | If true, the device index is included in the generated string. |
- Returns
- A string representing the button name and optionally the device name and index.
|