|
#define ReadButtonEx |
( |
_idx, |
|
|
_reset, |
|
|
_pressed, |
|
|
_count, |
|
|
_result |
|
) |
__ReadButtonEx(_idx, _reset, _pressed, _count, _result) |
Read button information.
Read the specified button. Set the pressed and count parameters with the current state of the button. Optionally reset the press count after reading it.
- Parameters:
-
| _idx | The button to check. See Button name constants. |
| _reset | Whether or not to reset the press counter. |
| _pressed | The button pressed state. |
| _count | The button press count. |
| _result | The function call result. |
|