#include "InputPrereqs.h"
#include <cassert>
#include <string>
#include <vector>
#include <functional>
#include "util/tribool.h"
#include "InputHandler.h"
#include "InputManager.h"
#include "JoyStickQuantityListener.h"
Go to the source code of this file.
|
#define | INPUT_STATE_PUSH_CALL(deviceIndex, functionName, ...) InputManager::getInstance().pushCall(std::function<void ()>(std::bind(&InputHandler::functionName, handlers_[deviceIndex], __VA_ARGS__))) |
|
#define INPUT_STATE_PUSH_CALL |
( |
|
deviceIndex, |
|
|
|
functionName, |
|
|
|
... |
|
) |
| InputManager::getInstance().pushCall(std::function<void ()>(std::bind(&InputHandler::functionName, handlers_[deviceIndex], __VA_ARGS__))) |