#include <stdint.h>
#include "ship/Api.h"
#include <memory>
Go to the source code of this file.
|
| namespace | Ship |
| | Core namespace for the libultraship engine framework.
|
| |
◆ ControllerBlockGameInput()
| API_EXPORT void ControllerBlockGameInput |
( |
uint16_t |
inputBlockId | ) |
|
Prevents controller gamepad input from being processed by the game.
Multiple callers can independently block input; each must supply a unique inputBlockId and must call ControllerUnblockGameInput() with the same ID to release its block.
- Parameters
-
| inputBlockId | Caller-chosen identifier that distinguishes this blocker. |
◆ ControllerGetControlDeck()
◆ ControllerSetControlDeck()
◆ ControllerUnblockGameInput()
| API_EXPORT void ControllerUnblockGameInput |
( |
uint16_t |
inputBlockId | ) |
|
Releases a previously established game input block.
Input is only fully unblocked once all outstanding blockers have called this function.
- Parameters
-