21 #include "ControllerEvent.h"
27 template <
typename Input =
int>
38 typedef std::map<Input, Action>
Map;
59 bool empty()
const {
return mScheme.empty(); }
64 typename Map::const_iterator
begin()
const {
65 return mScheme.cbegin();
71 typename Map::const_iterator
end()
const {
72 return mScheme.cend();
81 return mScheme.count(input) > 0;
89 for (
auto& inputActionPair : inputScheme) {
90 if (mScheme.count(inputActionPair.first)) {
107 #endif // INPUTSCHEME_H
A platform independent event generated by controller device.
Definition: ControllerEvent.h:34