An open API service indexing awesome lists of open source software.

https://github.com/giginet/gccontrollerwrapper

GameController.framework for C++
https://github.com/giginet/gccontrollerwrapper

Last synced: 4 months ago
JSON representation

GameController.framework for C++

Awesome Lists containing this project

README

        

# GCController Wrapper

iOS GameController.framework wrapper for C++

# Usage

```cpp
auto controller = iOSGamePad::Controller::controllers->at(0);
controller->getGamepad()->getButtonA()->setValueChangedHandler([&](iOSGamePad::ControllerButtonInput *, float, bool) {
std::cout << "press button A!!!" << std::endl;
});
```