Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/giginet/gccontrollerwrapper

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

Last synced: about 2 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;
});
```