libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
controllerbridge.h
Go to the documentation of this file.
1#pragma once
2
3#include <stdint.h>
4#include "ship/Api.h"
5
6#ifdef __cplusplus
7#include <memory>
8namespace Ship {
9class ControlDeck;
10}
11void ControllerSetControlDeck(std::shared_ptr<Ship::ControlDeck> controlDeck);
12std::shared_ptr<Ship::ControlDeck> ControllerGetControlDeck();
13extern "C" {
14#endif
15
24API_EXPORT void ControllerBlockGameInput(uint16_t inputBlockId);
25
33API_EXPORT void ControllerUnblockGameInput(uint16_t inputBlockId);
34
35#ifdef __cplusplus
36};
37#endif
API export/import macros for cross-platform shared library symbol visibility.
#define API_EXPORT
Marks a symbol for export from (or import into) a shared library.
Definition Api.h:32
API_EXPORT void ControllerBlockGameInput(uint16_t inputBlockId)
Prevents controller gamepad input from being processed by the game.
std::shared_ptr< Ship::ControlDeck > ControllerGetControlDeck()
void ControllerSetControlDeck(std::shared_ptr< Ship::ControlDeck > controlDeck)
API_EXPORT void ControllerUnblockGameInput(uint16_t inputBlockId)
Releases a previously established game input block.
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14